10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad44d50 commit 06711deCopy full SHA for 06711de
doc/src/sgml/libpq.sgml
@@ -3846,6 +3846,15 @@ PGresult *PQgetResult(PGconn *conn);
3846
active and the necessary response data has not yet been read by
3847
<function>PQconsumeInput</function>.
3848
</para>
3849
+
3850
+ <note>
3851
+ <para>
3852
+ Even when <function>PQresultStatus</function> indicates a fatal
3853
+ error, <function>PQgetResult</function> should be called until it
3854
+ returns a null pointer to allow <application>libpq</> to
3855
+ process the error information completely.
3856
+ </para>
3857
+ </note>
3858
</listitem>
3859
</varlistentry>
3860
</variablelist>
0 commit comments