Re: "Join" on delimeter aggregate query - Mailing list pgsql-sql

From Bruno Wolff III
Subject Re: "Join" on delimeter aggregate query
Date
Msg-id 20030610135851.GB16346@wolff.to
Whole thread Raw
In response to Re: "Join" on delimeter aggregate query  (Eivind Kvedalen <eivindkv@ifi.uio.no>)
List pgsql-sql
On Mon, Jun 09, 2003 at 10:35:10 +0200, Eivind Kvedalen <eivindkv@ifi.uio.no> wrote:
> 
> Ok. What I actually had in mind was whether the optimizer would remove the
> ORDER BY clause completely or not, as it isn't used in the top-level
> SELECT query, and SQL doesn't in general guarantee ordered rows back
> unless there's an ORDER BY in the top-level SELECT (I haven't read the SQL
> standard, so I might very well be wrong here).

Allowing ordering in subselects is a feature (mostly for use with LIMIT)
and won't be removed because it isn't a top level select.


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: left join in cursor
Next
From: "Yudie"
Date:
Subject: trigger error