Q: CURSOR tuples count

Поиск
Список
Период
Сортировка
От Vazsonyi Peter[ke]
Тема Q: CURSOR tuples count
Дата
Msg-id Pine.A32.4.05.9901041643220.16028-100000@kornel.szif.hu
обсуждение исходный текст
Ответ на Re: [HACKERS] MVCC works in serialized mode!  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список pgsql-hackers
Hello!

I want to make a filtered selection on a table. This can return with many
tuples. The download of the query results may take a few  minutes. I'd like
to show the progress status. How can i do this?
If i run this in two query (first i count the number of lines, than the real
query), than the backend calculates the query two times.
If i use cursor, i can not get the line count before i fetch the whole table.

--So long and thanx for all the fish.NeKo@(kva.hu|kornel.szif.hu)




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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] NAN code
Следующее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] SQLJ