Is PQgetResult() guaranteed to return the whole SQL command result? - Mailing list pgsql-docs

From Arseny Sher
Subject Is PQgetResult() guaranteed to return the whole SQL command result?
Date
Msg-id 87o9n2hh30.fsf@ars-thinkpad
Whole thread Raw
Responses Re: Is PQgetResult() guaranteed to return the whole SQL commandresult?
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Typo
Next
From: Peter Eisentraut
Date:
Subject: Re: Is PQgetResult() guaranteed to return the whole SQL commandresult?