Thread: naming arguments in aggregate function

naming arguments in aggregate function

From
Viktor Bojović
Date:
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: naming arguments in aggregate function

From
Tom Lane
Date:
Viktor Bojović <viktor.bojovic@gmail.com> 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