Re: Not clear on what PQgetResult does

Поиск
Список
Период
Сортировка
От David Rysdam
Тема Re: Not clear on what PQgetResult does
Дата
Msg-id 437CE1B0.3040001@ll.mit.edu
обсуждение исходный текст
Ответ на Re: Not clear on what PQgetResult does  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Not clear on what PQgetResult does
Список pgsql-interfaces
Tom Lane wrote:

>David Rysdam <drysdam@ll.mit.edu> writes:
>  
>
>>I don't understand in what sense PQgetResult is asynchronous.
>>    
>>
>
>It isn't.  You can use it in an asynchronous client, but the way you do
>that is by not calling it until PQisBusy says you can (which means the
>whole result has arrived, and you're just calling PQgetResult to get
>hold of it).
>
So there's no way to have libpq return partial results before they are 
all ready?

If I may, I would like to express some degree of incredulity.  Even the 
version of Sybase I'm using does this right and it's from 1997!


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Not clear on what PQgetResult does
Следующее
От: Brett Schwarz
Дата:
Сообщение: Re: Not clear on what PQgetResult does