Re: [Help] AGGREGATE problem w/v7.0

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Itzinger, Oskar" <oitzinger(at)opec(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [Help] AGGREGATE problem w/v7.0
Date: 2001-06-13 14:02:05
Message-ID: 26090.992440925@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Itzinger, Oskar" <oitzinger(at)opec(dot)org> writes:
> /why/ does SELECT give up with
> ERROR: SQL-language function not supported in this context.

The message seems perfectly clear to me ;-)

> - How can I rectify this situation

Update to 7.1:

regression=# SELECT id, foo_a(entry) FROM tmp GROUP BY id;
id | foo_a
-----+------------
abc | , kls, mnr
def | , opq, zyw
(2 rows)

Not that I'd recommend a SQL function for an aggregate, mind you.
plpgsql would probably be faster/better.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2001-06-13 14:03:24 Re: Re: Does PostgreSQL support EXISTS?
Previous Message Tom Lane 2001-06-13 13:51:46 Re: Re: Does PostgreSQL support EXISTS?