From d307c428cbb7c426e40163d234d993e644bbcc6b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 1 Aug 2006 21:05:00 +0000 Subject: [PATCH] Fix bug I introduced while cleaning up pg_dump -t/-n patch. --- src/bin/pg_dump/pg_dump.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index bf2874f3df..5e3834a6cd 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -12,7 +12,7 @@ * by PostgreSQL * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.443 2006/08/01 18:05:04 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.444 2006/08/01 21:05:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -193,7 +193,7 @@ main(int argc, char **argv) { PQExpBuffer query = createPQExpBuffer(); PGresult *res; - objnameArg *this_obj_name = NULL; + objnameArg *this_obj_name, *schemaList_tail = NULL, *tableList_tail = NULL; int c; const char *filename = NULL; const char *format = "p"; @@ -301,8 +301,6 @@ main(int argc, char **argv) while ((c = getopt_long(argc, argv, "abcCdDE:f:F:h:in:N:oOp:RsS:t:T:uU:vWxX:Z:", long_options, &optindex)) != -1) { - objnameArg *schemaList_tail = NULL, *tableList_tail = NULL; - switch (c) { case 'a': /* Dump data only */ -- 2.40.0