From 81a530a65eb867a366828daa7a8757727214ecad Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 28 Dec 2010 11:02:10 -0500 Subject: 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. --- doc/src/sgml/libpq.sgml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index 7e86859e252..da7b820db6d 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2196,16 +2196,6 @@ ExecStatusType PQresultStatus(const PGresult *res); - - PGRES_COPY_BOTH - - - Copy In/Out (to and from server) data transfer started. This is - currently used only for streaming replication. - - - - PGRES_BAD_RESPONSE @@ -2232,6 +2222,16 @@ ExecStatusType PQresultStatus(const PGresult *res); + + + PGRES_COPY_BOTH + + + Copy In/Out (to and from server) data transfer started. This is + currently used only for streaming replication. + + + If the result status is PGRES_TUPLES_OK, then -- cgit v1.2.3