Re: [BUGS] pg_dumpall ignores --globals-only

2003-03-07 Thread Dan Langille
On Thu, 6 Mar 2003, Tom Lane wrote: > "Dan Langille" <[EMAIL PROTECTED]> writes: > > $ pg_dumpall --globals_only > > pg_dumpall: unrecognized option `--globals_only' > > There seems to be a bit of a disconnect between the code, the usage > message, and the long_options table in pg_dumpall :-(. I'

Re: [BUGS] pg_dumpall ignores --globals-only

2003-03-06 Thread Oliver Elphick
On Thu, 2003-03-06 at 19:25, Dan Langille wrote: > Hi folks... > > Can anyone else confirm this on 7.3.2? > > $ pg_dumpall --globals_only In fact it should be "globals-only" (hyphen, not underscore), but even when spelt correctly it doesn't work. > pg_dumpall: unrecognized option `--globals_onl

Re: [BUGS] pg_dumpall ignores --globals-only

2003-03-06 Thread Tom Lane
"Dan Langille" <[EMAIL PROTECTED]> 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 *

Re: [BUGS] pg_dumpall ignores --globals-only

2003-03-06 Thread Tom Lane
"Dan Langille" <[EMAIL PROTECTED]> writes: > $ pg_dumpall --globals_only > pg_dumpall: unrecognized option `--globals_only' There seems to be a bit of a disconnect between the code, the usage message, and the long_options table in pg_dumpall :-(. I'll see about cleaning it up, but in the meantime

[BUGS] pg_dumpall ignores --globals-only

2003-03-06 Thread Dan Langille
Hi folks... Can anyone else confirm this on 7.3.2? $ pg_dumpall --globals_only pg_dumpall: unrecognized option `--globals_only' Try 'pg_dumpall --help' for more information. -g works OK. I seem to recall this problem arising before. I've had confirmation that the problem exists in 7.3. -- Da