On Wed, 11 Apr 2001, Peter Eisentraut wrote:
> The Hermit Hacker writes:
>
> > okay, not sure how we should document this, but apparently pg_dumpall
> > doesn't work as the man page at:
> >
> > http://www.postgresql.org/users-lounge/docs/7.0/user/app-pgdumpall.htm
> >
> > appears to suggest:
>
> > Now, I swore I did a 'setenv PGHOST db.hub.org' to get around it, and it
> > still failed, but now its working ... most confusing :(
> >
> > But, still, pg_dumpall doesn't appear to accept the -h option in v7.0.3
>
> Exactly right. Options to pg_dumpall are only "pg_dump options", which
> means things like -o or -d. But pg_dumpall also runs a few psqls, which
> don't see any of this.
Okay, but, according to the man page, -h <host> *is* a pg_dump option ...
pg_dump [ dbname ]
pg_dump [ -h host ] [ -p port ] [ -t table ] [ -a ] [ -c ] [ -d ] [ -D ] [ -i ] [ -n ] [ -N ] [ -o ] [ -s ] [ -u
][ -v ] [ -x ] [ dbname ]