Possible parsing problem? - Mailing list pgsql-general

From nolan@celery.tssi.com
Subject Possible parsing problem?
Date
Msg-id 20030630152533.17945.qmail@celery.tssi.com
Whole thread Raw
Responses Re: Possible parsing problem?  (Andrew Gould <andrewgould@yahoo.com>)
Re: Possible parsing problem?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
The following does NOT produce an error on the 'order by' clause,
though perhaps it should?

    SELECT col, count(*) from table group by col order by count;

If there is more than one count() function in the query, it does crete
am error for the ambiguous reference.

(FWIW, Oracle and MySQL both generate an error.)
--
Mike Nolan

pgsql-general by date:

Previous
From: Csaba Nagy
Date:
Subject: Re: Making pgsql error messages more developers' friendly.
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: Making pgsql error messages more developers' friendly.