Skip to content

Commit d307c42

Browse files
committed
Fix bug I introduced while cleaning up pg_dump -t/-n patch.
1 parent 5f69890 commit d307c42

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/bin/pg_dump/pg_dump.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* by PostgreSQL
1313
*
1414
* IDENTIFICATION
15-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.443 2006/08/01 18:05:04 momjian Exp $
15+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.444 2006/08/01 21:05:00 momjian Exp $
1616
*
1717
*-------------------------------------------------------------------------
1818
*/
@@ -193,7 +193,7 @@ main(int argc, char **argv)
193193
{
194194
PQExpBuffer query = createPQExpBuffer();
195195
PGresult *res;
196-
objnameArg *this_obj_name = NULL;
196+
objnameArg *this_obj_name, *schemaList_tail = NULL, *tableList_tail = NULL;
197197
int c;
198198
const char *filename = NULL;
199199
const char *format = "p";
@@ -301,8 +301,6 @@ main(int argc, char **argv)
301301
while ((c = getopt_long(argc, argv, "abcCdDE:f:F:h:in:N:oOp:RsS:t:T:uU:vWxX:Z:",
302302
long_options, &optindex)) != -1)
303303
{
304-
objnameArg *schemaList_tail = NULL, *tableList_tail = NULL;
305-
306304
switch (c)
307305
{
308306
case 'a': /* Dump data only */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy