Re: [HACKERS] What about LIMIT in SELECT ?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: jwieck(at)debis(dot)com
Cc: jwieck(at)debis(dot)com, Inoue(at)tpf(dot)co(dot)jp, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] What about LIMIT in SELECT ?
Date: 1998-10-21 06:09:26
Message-ID: 199810210609.CAA27774@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

> >
> > > >
> > > > 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.
> > >
> > > That's wrong, sorry.
> > >
> > > The limit thing as I implemented it adds 2 new variables to
> > > the Query structure. Rewrite rules are stored as querytrees
> > > and in the existing pg_rewrite entries that would be missing.
> >
> > Oh, sorry. I forgot. That could be tough.
>
> But it wouldn't hurt to add them now to have them in
> place. The required out-, read- and copyfuncs are in
> my patch too. This would prevent dump/load when we
> later add the real LIMIT functionality. And it does
> not change anything now.
>

Jan, we found that I am having to require an initdb for the INET/CIDR
type, so if you want stuff to change the views/rules for the limit
addition post 6.4, please send them in and I will apply them.

You clearly have the syntax down, so I think you should go ahead.

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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Jan Wieck 1998-10-22 08:53:10 Re: [HACKERS] What about LIMIT in SELECT ?
Previous Message Bruce Momjian 1998-10-20 17:26:59 Re: [HACKERS] What about LIMIT in SELECT ?

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-10-21 06:14:02 New INET and CIDR types
Previous Message Thomas G. Lockhart 1998-10-21 06:07:39 New docs and ODBC for Unix