| От | Kevin Grittner |
|---|---|
| Тема | Re: LIMIT NULL |
| Дата | |
| Msg-id | 4986E278.EE98.0025.0@wicourts.gov обсуждение |
| Ответ на | Re: LIMIT NULL (Bruce Momjian <bruce@momjian.us>) |
| Список | pgsql-hackers |
>>> Bruce Momjian <bruce@momjian.us> wrote: > David E. Wheeler wrote: >> Is it intentional that `LIMIT NULL` means the same as `LIMIT ALL`? > Uh, I figure LIMIT NULL should return no rows. Why? Since the normal meaning of NULL is "value unknown or does not apply" it would seem to be most reasonable, if it's going to be accepted in a LIMIT clause, to have it mean "the LIMIT does not apply". Plus, if it has been accepted with the "no limit" semantics, wouldn't it require a really good reason to break backwards compatibility? -Kevin
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера