Per discussion on -hackers, the attached patch allow the default
database to be specified on the pg_dumpall command line, eg.
pg_dumpall [options...] [dbname]
If dbname is not specified, postgres/template1 are used per current
behaviour. If a connection cannot be made to dbname, an error is
returned and pg_dumpall exits. I've also added a similar error handler
to catch failures to connect to postgres and pg_dumpall (currently, the
dump will still be attempted).
This patch should be applied on top of my previous patch
pgsql-patches by date
|Next:||From: Gurjeet Singh||Date: 2007-01-15 14:12:50|
|Subject: Re: [PATCHES] [HACKERS] [Fwd: Index Advisor]|
|Previous:||From: CN||Date: 2007-01-15 12:01:56|
|Subject: Re: BCC55 and libpq 8.2|