From: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Damond Walker <dwalker(at)black-oak(dot)com>, hackers(at)postgreSQL(dot)org |
Subject: | Re: [HACKERS] distinct. Is this the correct behaviour? |
Date: | 1999-10-21 16:58:32 |
Message-ID: | 199910211658.MAA28593@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> "Damond Walker" <dwalker(at)black-oak(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Christoph Hoegl | 1999-10-21 17:26:21 | Re: [HACKERS] Readline use in trouble? |
Previous Message | Damond Walker | 1999-10-21 16:57:16 | Re: [HACKERS] distinct. Is this the correct behaviour? |