Re: Not clear on what PQgetResult does

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

> If the latter, is pgtcl's pg_getresult supposed to work the same way?

Dunno ... there was no such command last time I looked at pgtcl.
        regards, tom lane


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

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