Documentation bug report for LIMIT

Поиск
Список
Период
Сортировка
От Jean-Christian Imbeault
Тема Documentation bug report for LIMIT
Дата
Msg-id 3DC89D1B.2010208@netscape.net
обсуждение исходный текст
Ответы Re: Documentation bug report for LIMIT  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-docs
In
http://www6.jp.postgresql.org/users-lounge/docs/7.2/postgres/queries-limit.html

it is stated that the syntax is:

SELECT select_list
     FROM table_expression
     [LIMIT { number | ALL }] [OFFSET number]

This following query is valid even though the syntax is wrong:

select id from members order by id limit 5, 6

If this "alternative" syntax is acceptable could you add this
alternative syntax to the docs? Else, the parser needs to throw an error?

SELECT select_list
     FROM table_expression
     [LIMIT { number | ALL }] [, [OFFSET] number]


В списке pgsql-docs по дате отправления:

Предыдущее
От: "Reid Thompson"
Дата:
Сообщение: BYTEA problem - ERROR: Bad input string for type bytea
Следующее
От: john
Дата:
Сообщение: ...