Re: pg_dumpall ignores --globals-only

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Dan Langille" <dan(at)langille(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: pg_dumpall ignores --globals-only
Date: 2003-03-06 21:49:48
Message-ID: 23718.1046987388@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Dan Langille" <dan(at)langille(dot)org> writes:
> $ pg_dumpall --globals_only
> pg_dumpall: unrecognized option `--globals_only'

Looks like it's just a one-liner oversight. I'm not sure whether -g
will work on your platform; if not, use the attached patch.

regards, tom lane

*** src/bin/pg_dump/pg_dumpall.c.orig Thu Jan 16 10:28:06 2003
--- src/bin/pg_dump/pg_dumpall.c Thu Mar 6 16:45:57 2003
***************
*** 77,82 ****
--- 77,83 ----
{"inserts", no_argument, NULL, 'd'},
{"attribute-inserts", no_argument, NULL, 'D'},
{"column-inserts", no_argument, NULL, 'D'},
+ {"globals-only", no_argument, NULL, 'g'},
{"host", required_argument, NULL, 'h'},
{"ignore-version", no_argument, NULL, 'i'},
{"oids", no_argument, NULL, 'o'},

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Oliver Elphick 2003-03-06 22:14:59 Re: pg_dumpall ignores --globals-only
Previous Message Tom Lane 2003-03-06 21:21:41 Re: pg_dumpall ignores --globals-only