If input is available from the server, consume it.
PQconsumeInput
normally returns1
indicating "no error", but returns0
if there was some kind of trouble (in which casePQerrorMessage
can be consulted). Note that the result does not say whether any input data was actually collected. After callingPQconsumeInput
, the application can checkPQisBusy
and/orPQnotifies
to see if their state has changed.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(c_ptr), | intent(in) | :: | conn |