naming arguments in aggregate function

Поиск
Список
Период
Сортировка
От Viktor Bojović
Тема naming arguments in aggregate function
Дата
Msg-id AANLkTinUdgjuiAWj5EiaiW-1sdzjg2J8cEMFGLs8WVRX@mail.gmail.com
обсуждение исходный текст
Ответы Re: naming arguments in aggregate function
Список pgsql-sql
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

В списке pgsql-sql по дате отправления:

Предыдущее
От: Daniel Sobey
Дата:
Сообщение: procedure help between databases
Следующее
От: Tom Lane
Дата:
Сообщение: Re: naming arguments in aggregate function