Re: pg_dumpall ignores --globals-only - Mailing list pgsql-bugs

From Tom Lane
Subject Re: pg_dumpall ignores --globals-only
Date
Msg-id 23718.1046987388@sss.pgh.pa.us
Whole thread Raw
In response to pg_dumpall ignores --globals-only  ("Dan Langille" <dan@langille.org>)
List pgsql-bugs
"Dan Langille" <dan@langille.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'},

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_dumpall ignores --globals-only
Next
From: Oliver Elphick
Date:
Subject: Re: pg_dumpall ignores --globals-only