/pgpatches/libpq_v2
text/x-diff
Filename: /pgpatches/libpq_v2
Type: text/x-diff
Part: 0
Patch
Same data as JSON:
GET /api/v1/attachments/:id/patch
the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes.
API reference →
Format: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/libpq.sgml | 8 | 7 |
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index da7b820..335b148 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -972,8 +972,8 @@ PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
If <literal>errmsg</> is not <symbol>NULL</>, then <literal>*errmsg</> is set
to <symbol>NULL</> on success, else to a <function>malloc</>'d error string explaining
the problem. (It is also possible for <literal>*errmsg</> to be
- set to <symbol>NULL</> even when <symbol>NULL</> is returned; this indicates an out-of-memory
- situation.)
+ set to <symbol>NULL</> even when <symbol>NULL</> is returned by
+ the function; this indicates an out-of-memory situation.)
</para>
<para>
@@ -1352,7 +1352,7 @@ ConnStatusType PQstatus(const PGconn *conn);
<para>
See the entry for <function>PQconnectStartParams</>, <function>PQconnectStart</>
and <function>PQconnectPoll</> with regards to other status codes that
- might be seen.
+ might be returned.
</para>
</listitem>
</varlistentry>
@@ -3162,6 +3162,11 @@ Oid PQoidValue(const PGresult *res);
<listitem>
<para>
+ This function is deprecated in favor of
+ <function>PQoidValue</function>. It is not thread-safe.
+ </para>
+
+ <para>
Returns a string with the OID of the inserted row, if the
<acronym>SQL</acronym> command was an <command>INSERT</command>
that inserted exactly one row, or a <command>EXECUTE</command> of
@@ -3175,10 +3180,6 @@ char *PQoidStatus(const PGresult *res);
</synopsis>
</para>
- <para>
- This function is deprecated in favor of
- <function>PQoidValue</function>. It is not thread-safe.
- </para>
</listitem>
</varlistentry>
</variablelist>