mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Fix ill-advised placement of PGRES_COPY_BOTH enum value.
It must be added at the end of the ExecStatusType enum to avoid ABI breakage compared to previous libpq versions. Noted by Magnus.
This commit is contained in:
@ -2196,16 +2196,6 @@ ExecStatusType PQresultStatus(const PGresult *res);
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libpq-pgres-copy-both">
|
||||
<term><literal>PGRES_COPY_BOTH</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Copy In/Out (to and from server) data transfer started. This is
|
||||
currently used only for streaming replication.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libpq-pgres-bad-response">
|
||||
<term><literal>PGRES_BAD_RESPONSE</literal></term>
|
||||
<listitem>
|
||||
@ -2232,6 +2222,16 @@ ExecStatusType PQresultStatus(const PGresult *res);
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="libpq-pgres-copy-both">
|
||||
<term><literal>PGRES_COPY_BOTH</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Copy In/Out (to and from server) data transfer started. This is
|
||||
currently used only for streaming replication.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
If the result status is <literal>PGRES_TUPLES_OK</literal>, then
|
||||
|
Reference in New Issue
Block a user