Re: Another optimizer question - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Another optimizer question
Date
Msg-id 24882.1075226771@sss.pgh.pa.us
Whole thread Raw
In response to Another optimizer question  (Dennis Haney <davh@diku.dk>)
Responses Re: Another optimizer question
List pgsql-hackers
Dennis Haney <davh@diku.dk> writes:
> There is no constraint on the order of 'a', so why is pull_up_subqueries 
> explicitly ignoring subqueries that contain an 'order by'?

Because there would be no place to apply the sort operation.  If you are
saying you don't want the sort to occur, why did you write it?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: index scan with functional indexes
Next
From: Dave Cramer
Date:
Subject: Re: index scan with functional indexes