Re: [HACKERS] distinct. Is this the correct behaviour? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] distinct. Is this the correct behaviour?
Date
Msg-id 199910211658.MAA28593@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] distinct. Is this the correct behaviour?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
> "Damond Walker" <dwalker@black-oak.com> writes:
> > Returned the following message under MS SQL Server 7.0:
> >     ORDER BY items must appear in the select list if SELECT DISTINCT is
> > specified.
> 
> Sure looks like that is the consensus answer to the semantics problem...
> guess we should do the same.

Added to TODO:
* require SELECT DISTINCT target list to have all ORDER BY columns

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [DOCS] Re: [HACKERS] Outline for PostgreSQL book
Next
From: Brook Milligan
Date:
Subject: Re: [HACKERS] Readline use in trouble?]