If input is available from the server, consume it.
PQconsumeInputnormally returns1indicating "no error", but returns0if there was some kind of trouble (in which casePQerrorMessagecan be consulted). Note that the result does not say whether any input data was actually collected. After callingPQconsumeInput, the application can checkPQisBusyand/orPQnotifiesto see if their state has changed.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | intent(in) | :: | conn |