[SQL] naming arguments in aggregate function

2010-09-05 Thread Viktor Bojović
Hi,
I am trying to name arguments in aggregate function, but i don't know how,
so im asking if someone can help me to solve this.
Im working with 8.3.11 version of postgre, and the aggregate function is
this:
CREATE AGGREGATE "grafika"."agg_pov_sphere" (numeric, numeric, numeric,
numeric, varchar) (
SFUNC = "grafika"."_tran_pov_sphere",
STYPE = "varchar",
INITCOND = ''
);

when i change the header to this CREATE AGGREGATE "grafika"."agg_pov_sphere"
(x numeric, y numeric, z numeric, rad numeric, pigment varchar) (
i get syntax error.

Thanx in advance
-- 
---
Viktor Bojović
---
Wherever I go, Murphy goes with me


Re: [SQL] naming arguments in aggregate function

2010-09-05 Thread Tom Lane
=?UTF-8?Q?Viktor_Bojovi=C4=87?=  writes:
> I am trying to name arguments in aggregate function, but i don't know how,

You can't --- it's not implemented.

regards, tom lane

-- 
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql