]> granicus.if.org Git - postgresql/commitdiff
From: Randy Kunkee <kunkee@pluto.ops.NeoSoft.com>
authorMarc G. Fournier <scrappy@hub.org>
Sun, 15 Mar 1998 08:11:11 +0000 (08:11 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sun, 15 Mar 1998 08:11:11 +0000 (08:11 +0000)
The following patch is to src/interfaces/libpq of postgresql-6.3.
The purpose of the patch is to make the initialization of
const char *pgresStatus[] match the ExecStatusType enum.

src/interfaces/libpq/fe-exec.c

index ffa15a6428ca7166145cb5696ad8497a20e4e057..c82d8381061e0c1b12b8e7d9f09678a6487c4c4b 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.47 1998/02/26 04:45:07 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-exec.c,v 1.48 1998/03/15 08:11:11 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -51,6 +51,8 @@ const char *pgresStatus[] = {
        "PGRES_EMPTY_QUERY",
        "PGRES_COMMAND_OK",
        "PGRES_TUPLES_OK",
+       "PGRES_COPY_OUT", 
+       "PGRES_COPY_IN",
        "PGRES_BAD_RESPONSE",
        "PGRES_NONFATAL_ERROR",
        "PGRES_FATAL_ERROR"