Re: BUG #4173: Illogical error message with aggregates + order by

From: Faux <faux(at)goeswhere(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4173: Illogical error message with aggregates + order by
Date: 2008-05-15 16:55:33
Message-ID: op.ua7fyvli759qpy@anoia.hoe
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, 15 May 2008 17:34:11 +0100, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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/

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bob Rossi 2008-05-15 17:30:36 Re: mingw compile error
Previous Message John R Pierce 2008-05-15 16:41:06 Re: [BUGS] problem in installing pgsql-8.3.1