diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2010-12-28 11:02:10 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2010-12-28 11:02:10 -0500 |
commit | 81a530a65eb867a366828daa7a8757727214ecad (patch) | |
tree | d3e9c175705761816820edea0c906e738494aaab /src/interfaces/libpq/fe-exec.c | |
parent | b4d3792daa6032016325ae50e80dfae12eb95820 (diff) | |
download | postgresql-81a530a65eb867a366828daa7a8757727214ecad.tar.gz postgresql-81a530a65eb867a366828daa7a8757727214ecad.zip |
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.
Diffstat (limited to 'src/interfaces/libpq/fe-exec.c')
-rw-r--r-- | src/interfaces/libpq/fe-exec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-exec.c b/src/interfaces/libpq/fe-exec.c index 9858faeaa64..7bb7fbe557e 100644 --- a/src/interfaces/libpq/fe-exec.c +++ b/src/interfaces/libpq/fe-exec.c @@ -35,10 +35,10 @@ char *const pgresStatus[] = { "PGRES_TUPLES_OK", "PGRES_COPY_OUT", "PGRES_COPY_IN", - "PGRES_COPY_BOTH", "PGRES_BAD_RESPONSE", "PGRES_NONFATAL_ERROR", - "PGRES_FATAL_ERROR" + "PGRES_FATAL_ERROR", + "PGRES_COPY_BOTH" }; /* |