1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +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:
Tom Lane
2010-12-28 11:02:10 -05:00
parent b4d3792daa
commit 81a530a65e
3 changed files with 14 additions and 14 deletions

View File

@ -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"
};
/*