pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: jwieck@debis.com
Cc: Inoue@tpf.co.jp
Cc: jwieck@debis.com
Cc: hackers@postgreSQL.org
Subject: Re: [HACKERS] What about LIMIT in SELECT ?
Date: Tue, 20 Oct 1998 12:45:49 -0400 (EDT)
Message-ID: <199810201645.MAA07946@candle.pha.pa.us> (raw)
In-Reply-To: <m0zVY2c-000EBPC@orion.SAPserv.Hamburg.dsh.de>

>     Right. As I remember, your solution does basically  the  same
>     as  my  one. It does not change the optimizers decision about
>     the index or if an index at all is used.  So  I  assume  they
>     hook  into  the same position where depending on the order by
>     clause the sort node is added. And that is at the very end of
>     the optimizer.
> 
>     What  you  describe above requires changes in upper levels of
>     optimization.  Doing that is far away from my knowledge about
>     the  optimizer.   And  some of your earlier statements let me
>     think you aren't familiar enough with  it  too.  We  need  at
>     least help from others to do it well.
> 
>     I  don't want to dive that deep into the optimizer. There was
>     a far too long time where the rule system was broken and  got
>     out  of  sync with the parser/optimizer capabilities. I fixed
>     many things in it for 6.4. My first priority now is,  not  to
>     let such a situation come up again.

I agree.  Another good thing is that the LIMIT thing will not require a
dump/reload, so it is a good candidate for a minor release.

-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026



view thread (60+ messages)  latest in thread

Message-ID: <199810201645.MAA07946@candle.pha.pa.us>
Permalink:  ../199810201645.MAA07946@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199810201645.MAA07946@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: maillist@candle.pha.pa.us, jwieck@debis.com, Inoue@tpf.co.jp, hackers@postgreSQL.org
  Subject: Re: [HACKERS] What about LIMIT in SELECT ?
  In-Reply-To: <199810201645.MAA07946@candle.pha.pa.us>
  References: <m0zVY2c-000EBPC@orion.SAPserv.Hamburg.dsh.de> <199810201645.MAA07946@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox