Tom Lane wrote:
Then why spend time doing it at all?Dennis Haney <[EMAIL PROTECTED]> 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. I'm saying the sort makes no sense. So why even bother executing it?If you are saying you don't want the sort to occur, I believe the most common scenario would be that the subquery was expanded from a view...why did you write it? -- Dennis |
- [HACKERS] another optimizer question Jakub Ouhrabka
- Re: [HACKERS] another optimizer question Tom Lane
- [HACKERS] Another optimizer question Dennis Haney
- Re: [HACKERS] Another optimizer question Bruno Wolff III
- Re: [HACKERS] Another optimizer question Dennis Haney
- Re: [HACKERS] Another optimizer question Tom Lane
- Re: [HACKERS] Another optimizer question Dennis Haney
- Re: [HACKERS] Another optimizer question Hannu Krosing
- Re: [HACKERS] Another optimizer ques... Tom Lane
- Re: [HACKERS] Another optimizer ... Rod Taylor
- Re: [HACKERS] Another optimi... Tom Lane