"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'},