pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feednaming arguments in aggregate function
2+ messages / 2 participants
[nested] [flat]
* naming arguments in aggregate function
@ 2010-09-05 23:38 Viktor Bojović <viktor.bojovic@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Viktor Bojović @ 2010-09-05 23:38 UTC (permalink / raw)
To: 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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: naming arguments in aggregate function
@ 2010-09-06 00:35 Tom Lane <tgl@sss.pgh.pa.us>
parent: Viktor Bojović <viktor.bojovic@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2010-09-06 00:35 UTC (permalink / raw)
To: Viktor Bojović <viktor.bojovic@gmail.com>; +Cc: pgsql-sql
=?UTF-8?Q?Viktor_Bojovi=C4=87?= <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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2010-09-06 00:35 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-09-05 23:38 naming arguments in aggregate function Viktor Bojović <viktor.bojovic@gmail.com>
2010-09-06 00:35 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox