Re: To Postgres Devs : Wouldn't changing the select limit

From: Joel Burton <joel(at)joelburton(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Flancer <huongch(at)bigfoot(dot)com>, <pgsql-general(at)postgresql(dot)org>
Subject: Re: To Postgres Devs : Wouldn't changing the select limit
Date: 2001-10-18 17:44:57
Message-ID: Pine.LNX.4.30.0110181344131.4883-100000@temp.joelburton.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Wed, 17 Oct 2001, Bruce Momjian wrote:

> > Bruce Momjian writes:
> >
> > > > Break the SQL code that has been implemented for prior versions??
> > > > Bummer ;((.
> > >
> > > Yes, but we don't follow the MySQL behavior, which we copied when we
> > > added LIMIT. Seems we should agree with their implementation.
> >
> > Isn't it much worse to not follow PostgreSQL behaviour than to not follow
> > MySQL behaviour?
>
> Well, it was on the TODO list and people complained while porting their
> MySQL applications. We clearly made a mistake in the initial
> implementation.
>
> The question is do we fix it or continue with a different
> implementation. Because we have the separate LIMIT and OFFSET we can
> fix it while giving people a solution that will work for all versions.
> If we don't fix it, all MySQL queries that are ported will be broken.
>
> I assume it got on the TODO list because fixing it was the accepted
> solution. We can, of course, change our minds.

Changing PG to match MySQL may rankle loyalists' feathers a bit,
but if we can relativeless painless make it easy to port from MySQL
to PG, it's a win.

--

Joel BURTON | joel(at)joelburton(dot)com | joelburton.com | aim: wjoelburton
Independent Knowledge Management Consultant

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joel Burton 2001-10-18 17:53:24 Re: Backup Postgre Windows to Linux
Previous Message Keary Suska 2001-10-18 17:43:43 Re: Accessing PostgreSQL through Apache and PHP4 on

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-10-18 17:45:49 Re: pg_sorttemp files
Previous Message Peter Eisentraut 2001-10-18 17:42:08 Re: Package support for Postgres