@@ -972,8 +972,8 @@ PQconninfoOption *PQconninfoParse(const char *conninfo, char **errmsg);
972
972
If <literal>errmsg</> is not <symbol>NULL</>, then <literal>*errmsg</> is set
973
973
to <symbol>NULL</> on success, else to a <function>malloc</>'d error string explaining
974
974
the problem. (It is also possible for <literal>*errmsg</> to be
975
- set to <symbol>NULL</> even when <symbol>NULL</> is returned; this indicates an out-of-memory
976
- situation .)
975
+ set to <symbol>NULL</> and the function to return <symbol>NULL</>;
976
+ this indicates an out-of-memory condition .)
977
977
</para>
978
978
979
979
<para>
@@ -1352,7 +1352,7 @@ ConnStatusType PQstatus(const PGconn *conn);
1352
1352
<para>
1353
1353
See the entry for <function>PQconnectStartParams</>, <function>PQconnectStart</>
1354
1354
and <function>PQconnectPoll</> with regards to other status codes that
1355
- might be seen .
1355
+ might be returned .
1356
1356
</para>
1357
1357
</listitem>
1358
1358
</varlistentry>
@@ -3163,23 +3163,15 @@ Oid PQoidValue(const PGresult *res);
3163
3163
3164
3164
<listitem>
3165
3165
<para>
3166
- Returns a string with the OID of the inserted row, if the
3167
- <acronym>SQL</acronym> command was an <command>INSERT</command>
3168
- that inserted exactly one row, or a <command>EXECUTE</command> of
3169
- a prepared statement consisting of a suitable
3170
- <command>INSERT</command>. (The string will be <literal>0</> if
3171
- the <command>INSERT</command> did not insert exactly one row, or
3172
- if the target table does not have OIDs.) If the command was not
3173
- an <command>INSERT</command>, returns an empty string.
3166
+ This function is deprecated in favor of
3167
+ <function>PQoidValue</function> and is not thread-safe.
3168
+ It returns a string with the OID of the inserted row, while
3169
+ <function>PQoidValue</function> returns the OID value.
3174
3170
<synopsis>
3175
3171
char *PQoidStatus(const PGresult *res);
3176
3172
</synopsis>
3177
3173
</para>
3178
3174
3179
- <para>
3180
- This function is deprecated in favor of
3181
- <function>PQoidValue</function>. It is not thread-safe.
3182
- </para>
3183
3175
</listitem>
3184
3176
</varlistentry>
3185
3177
</variablelist>
0 commit comments