multiple results from a function

Поиск
Список
Период
Сортировка
От James Harper
Тема multiple results from a function
Дата
Msg-id 6035A0D088A63A46850C3988ED045A4B6F3BD70A@BITCOM1.int.sbss.com.au
обсуждение исходный текст
Ответы Re: multiple results from a function  (Merlin Moncure <mmoncure@gmail.com>)
Список pgsql-general
I see that I can use PQgetResult to get results from an async query, and this allows for multiple results, presumably
whenthe query is like "SELECT 123, 456; SELECT 'ABC', 'DEF';". Is there a way for a C function, using SPI, to send
resultsets without waiting for completion and returning a potentially huge set of results right at the end of the
function?

Failing that, is there a way for a C function to send to STDOUT in the same way that a COPY (...) TO STDOUT would?

Thanks

James


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

Предыдущее
От: Jeff Janes
Дата:
Сообщение: Re: Doubts after evaluating Xlogdump
Следующее
От: Dev Kumkar
Дата:
Сообщение: Re: Issue with default values and Rule