Re: Question about Encoding a Custom Type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David E(dot) Wheeler" <david(at)kineticode(dot)com>
Cc: Martijn van Oosterhout <kleptog(at)svana(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Question about Encoding a Custom Type
Date: 2008-06-16 19:38:32
Message-ID: 6957.1213645112@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David E. Wheeler" <david(at)kineticode(dot)com> writes:
> Now I have just one more bizarre error: PostgreSQL thinks that a
> citext column is not in an aggregate even when it is:
> try=# select array_accum(name) from srt order by name;
> ERROR: column "srt.name" must appear in the GROUP BY clause or be
> used in an aggregate function

> Um, what?

It's complaining about the use in ORDER BY.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-06-16 19:43:45 Re: pltcl broken on tcl8.5 ?
Previous Message Tom Lane 2008-06-16 19:35:26 Reducing overhead for repeat de-TOASTing