Re: Question about Encoding a Custom Type - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Question about Encoding a Custom Type
Date
Msg-id 6957.1213645112@sss.pgh.pa.us
Whole thread Raw
In response to Re: Question about Encoding a Custom Type  ("David E. Wheeler" <david@kineticode.com>)
Responses Re: Question about Encoding a Custom Type  ("David E. Wheeler" <david@kineticode.com>)
List pgsql-hackers
"David E. Wheeler" <david@kineticode.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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Reducing overhead for repeat de-TOASTing
Next
From: Andrew Dunstan
Date:
Subject: Re: pltcl broken on tcl8.5 ?