Re: BUG #4173: Illogical error message with aggregates + order by - Mailing list pgsql-bugs

From Faux
Subject Re: BUG #4173: Illogical error message with aggregates + order by
Date
Msg-id op.ua7fyvli759qpy@anoia.hoe
Whole thread Raw
In response to Re: BUG #4173: Illogical error message with aggregates + order by  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
On Thu, 15 May 2008 17:34:11 +0100, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> It's complaining about the occurrence of "bar" in ORDER BY, which is not
> within an aggregate function.
>
> I'm not sure that we can do much with the wording of the message.
> What would be more helpful here is a syntax error pointer, to keep
> you from thinking that the occurrence of bar over in the count()
> has got anything to do with it.

Yeah, that'd be nice. :)

Thanks anyway, Tom. :)


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/

pgsql-bugs by date:

Previous
From: John R Pierce
Date:
Subject: Re: [ADMIN] problem in installing pgsql-8.3.1
Next
From: Bob Rossi
Date:
Subject: Re: mingw compile error