Re: To Postgres Devs : Wouldn't changing the select limit
Bruce Momjian <pgman@candle.pha.pa.us>
From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Flancer <huongch@bigfoot.com>, pgsql-general@postgresql.org
Date: 2001-10-17T22:34:34Z
Lists: 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 behavior than to not follow > MySQL behavior? Another idea: because our historical Limit #,# differs from MySQL, one idea is to disable LIMIT #,# completely and instead print an error stating they have to use LIMIT # OFFSET #. Although that would break both MySQl and old PostgreSQL queries, it would not generate incorrect results. -- Bruce Momjian | http://candle.pha.pa.us pgman@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