Re: Re: Printing PostgreSQL reports

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: Printing PostgreSQL reports
Дата
Msg-id 6560.982703725@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Printing PostgreSQL reports  ("Mitch Vincent" <mitch@venux.net>)
Ответы Re: Re: Printing PostgreSQL reports  ("Roderick A. Anderson" <raanders@tincan.org>)
Список pgsql-general
"Mitch Vincent" <mitch@venux.net> writes:
> ... use LIMIT X to only grab the first X records from
> a result set. Then on the next page you say LIMIT X OFFSET X (in this
> example it's more of a <Next 10 results> type of thing).

Don't forget to use an ORDER BY clause that constrains the rows into a
unique order, else you may get inconsistent results from the successive
LIMITed queries.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: user meta (to the database, at least) information
Следующее
От: "Mitch Vincent"
Дата:
Сообщение: Re: Re: Printing PostgreSQL reports