mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Fix bug I introduced while cleaning up pg_dump -t/-n patch.
This commit is contained in:
parent
5f69890e15
commit
d307c428cb
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user