Re: Obtaining a total number of records in a cursor (Count)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Obtaining a total number of records in a cursor (Count)
Дата
Msg-id 262.986359064@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Obtaining a total number of records in a cursor (Count)  (Michael Dunn <michael@2cactus.com>)
Список pgsql-general
Michael Dunn <michael@2cactus.com> writes:
> is there a command, temporary table, or session in memory that I can
> obtain a total count of records for that cursor?

Not short of reading out the tuples ... in general there is no way to
predict the number of tuples that a query will return, except by
computing them.

            regards, tom lane

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

Предыдущее
От: rjtalbo@attglobal.net
Дата:
Сообщение: Caldera eDesktop 2.4 vs eServer 2.3
Следующее
От: Steven Vajdic
Дата:
Сообщение: Is this a bug in 7.0.2?