From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | 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-17 20:46:29 |
Message-ID: | 200110172046.f9HKkTn07208@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
> 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.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(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
From | Date | Subject | |
---|---|---|---|
Next Message | Creager, Robert S | 2001-10-17 21:28:10 | Re: SQL equivallent to "\ds" in psql |
Previous Message | Peter Eisentraut | 2001-10-17 20:36:44 | Re: To Postgres Devs : Wouldn't changing the select limit |
From | Date | Subject | |
---|---|---|---|
Next Message | Dan | 2001-10-17 22:19:11 | Re: compiling libpq++ on Solaris with Sun SPRO6U2 (fixed |
Previous Message | Peter Eisentraut | 2001-10-17 20:37:48 | Re: Column names - time |