Re: number of records returned by cursors

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: number of records returned by cursors
Дата
Msg-id 6329.1119882599@sss.pgh.pa.us
обсуждение исходный текст
Ответ на number of records returned by cursors  (Zac <zaccheob@inwind.it>)
Список pgsql-general
Zac <zaccheob@inwind.it> writes:
> does anyone know if there is a way (in plpgsql) to obtain the number of
> records returned by a cursor without fetching them all?

No.  The system itself does not know that until you've fully executed
the query ...

            regards, tom lane

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

Предыдущее
От: Douglas McNaught
Дата:
Сообщение: Re: Tablespaces across same raid...
Следующее
От: Vivek Khera
Дата:
Сообщение: Re: Finding points within 50 miles