Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit06711de

Browse files
committed
Document that libpq's PQgetResult() should be called after a fatal error
to fully process errors.
1 parentad44d50 commit06711de

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3846,6 +3846,15 @@ PGresult *PQgetResult(PGconn *conn);
38463846
active and the necessary response data has not yet been read by
38473847
<function>PQconsumeInput</function>.
38483848
</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>
38493858
</listitem>
38503859
</varlistentry>
38513860
</variablelist>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp