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

Re: Subselect and limit/order?

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)hub(dot)org
Subject: Re: Subselect and limit/order?
Date: 2000-08-08 06:24:56
Message-ID: 3.0.5.32.20000808162456.02832bf0@mail.rhyme.com.au (view raw or flat)
Thread:
Lists: pgsql-sql
At 11:46 7/08/00 -0400, Tom Lane wrote:
>
>I'd say mostly an executor problem, actually.  Nobody's figured out
>where the executor would need to be hacked to support tuple-limits
>applied elsewhere than the top level of a select.

Shouldn't the optimizer be able to get some benefit (in colun select
expressions at least) by being able to do an implied 'limit 2'?





----------------------------------------------------------------
Philip Warner                    |     __---_____
Albatross Consulting Pty. Ltd.   |----/       -  \
(A.C.N. 008 659 498)             |          /(@)   ______---_
Tel: (+61) 0500 83 82 81         |                 _________  \
Fax: (+61) 0500 83 82 82         |                 ___________ |
Http://www.rhyme.com.au          |                /           \|
                                 |    --________--
PGP key available upon request,  |  /
and from pgp5.ai.mit.edu:11371   |/

pgsql-sql by date

Next:From: Nagy Laszlo Zsolt , KLTE TTK pm1Date: 2000-08-08 12:59:20
Subject: Re: Changing user passwords
Previous:From: Philip WarnerDate: 2000-08-08 04:10:08
Subject: Re: Subselect and limit/order?

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