Re: weird behaviour on DISTINCT ON

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gaetano Mendola <mendola(at)bigfoot(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: weird behaviour on DISTINCT ON
Date: 2005-01-31 19:06:34
Message-ID: 21730.1107198394@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gaetano Mendola <mendola(at)bigfoot(dot)com> writes:
> my warning was due the fact that in the docs is written nowhere this
> drawback.

The SELECT reference page already says that the output rows are computed
before applying ORDER BY or DISTINCT.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message operationsengineer1 2005-01-31 19:13:58 Last ID Problem
Previous Message Merlin Moncure 2005-01-31 18:54:18 Re: Allow GRANT/REVOKE permissions to be applied to all schema objects with one command