Is PQgetResult() guaranteed to return the whole SQL command result?

Поиск
Список
Период
Сортировка
От Arseny Sher
Тема Is PQgetResult() guaranteed to return the whole SQL command result?
Дата
Msg-id 87o9n2hh30.fsf@ars-thinkpad
обсуждение исходный текст
Ответы Re: Is PQgetResult() guaranteed to return the whole SQL commandresult?  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-docs
Hi,

I wonder is it guaranteed that one PQgetResult() call returns result for
the whole one statement (SQL command) in usual (not SingleRow) mode?
For instance, if I run PQsendQuery with query consisting of two
statements (separated by semicolons), is possible to have three or more
PQgetResult calls returning data? I guess not, but it seems to be not
clear from the docs.

PQgetResult description says:

Waits for the next result from a prior call...

Does one "result" here correspond to one statement?

--
Arseny Sher
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company 


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Typo
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Is PQgetResult() guaranteed to return the whole SQL commandresult?