Re: Query size?

Поиск
Список
Период
Сортировка
От Paul Tomblin
Тема Re: Query size?
Дата
Msg-id 485E4789.8030807@gmail.com
обсуждение исходный текст
Ответ на Re: Query size?  (imad <immaad@gmail.com>)
Ответы Re: Query size?  (imad <immaad@gmail.com>)
Re: Query size?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-jdbc
imad wrote:
> Why dont you adopt a pro-active aproach here and append a LIMIT to
> every query you send to the server?
> You can do an OFFSET LIMIT combination of all queries until you get
> results less than LIMIT.

What I'm asking though is if there is some way to know before I start
returning results, short of doing a "COUNT(*)" first.


--
Paul Tomblin <ptomblin@xcski.com> http://blog.xcski.com/
We're the technical experts.  We were hired so that management could
ignore our recommendations and tell us how to do our jobs.
               -- Mike Andrews

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

Предыдущее
От: imad
Дата:
Сообщение: Re: Query size?
Следующее
От: imad
Дата:
Сообщение: Re: Query size?