Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group