Re: To Postgres Devs : Wouldn't changing the select limit
От | Bruce Momjian |
---|---|
Тема | Re: To Postgres Devs : Wouldn't changing the select limit |
Дата | |
Msg-id | 200110172234.f9HMYYM11991@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: To Postgres Devs : Wouldn't changing the select limit (Peter Eisentraut <peter_e@gmx.net>) |
Ответы |
Re: To Postgres Devs : Wouldn't changing the select limit
|
Список | pgsql-general |
> 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
В списке pgsql-general по дате отправления: