diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-11-21 19:12:41 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-11-21 19:12:41 +0000 |
commit | 195f78e43c34c5d744d693cd143219a22a569a1b (patch) | |
tree | 5ea30caa210bef1e9b16a7c7ec029328d85e56d1 /src/interfaces/libpgtcl/pgtclCmds.c | |
parent | 043cebce2b3df39b3939a55778b66f240159ec5d (diff) | |
download | postgresql-195f78e43c34c5d744d693cd143219a22a569a1b.tar.gz postgresql-195f78e43c34c5d744d693cd143219a22a569a1b.zip |
More archive cleanup.
Diffstat (limited to 'src/interfaces/libpgtcl/pgtclCmds.c')
-rw-r--r-- | src/interfaces/libpgtcl/pgtclCmds.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/src/interfaces/libpgtcl/pgtclCmds.c b/src/interfaces/libpgtcl/pgtclCmds.c index 99c2c1f4609..1af5aafdfb3 100644 --- a/src/interfaces/libpgtcl/pgtclCmds.c +++ b/src/interfaces/libpgtcl/pgtclCmds.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.18 1997/10/30 17:29:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/pgtclCmds.c,v 1.19 1997/11/21 19:12:41 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -1000,7 +1000,7 @@ Pg_lo_creat syntax: pg_lo_creat conn mode -mode can be any OR'ing together of INV_READ, INV_WRITE, and INV_ARCHIVE, +mode can be any OR'ing together of INV_READ, INV_WRITE for now, we don't support any additional storage managers. ***********************************/ @@ -1038,14 +1038,10 @@ Pg_lo_creat(ClientData cData, Tcl_Interp * interp, int argc, char *argv[]) { mode = INV_WRITE; } - else if (strcmp(modeWord, "INV_ARCHIVE") == 0) - { - mode = INV_ARCHIVE; - } else { Tcl_AppendResult(interp, - "invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ, INV_WRITE, and INV_ARCHIVE", + "invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ, and INV_WRITE", 0); return TCL_ERROR; } @@ -1060,14 +1056,10 @@ Pg_lo_creat(ClientData cData, Tcl_Interp * interp, int argc, char *argv[]) { mode |= INV_WRITE; } - else if (strcmp(modeWord, "INV_ARCHIVE") == 0) - { - mode |= INV_ARCHIVE; - } else { Tcl_AppendResult(interp, - "invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ, INV_WRITE, and INV_ARCHIVE", + "invalid mode argument to Pg_lo_creat\nmode argument must be some OR'd combination of INV_READ, and INV_WRITE", 0); return TCL_ERROR; } |