OSDN Git Service

Try connecting to both postgres and template1 databases to do the initial
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Jul 2005 16:51:30 +0000 (16:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Jul 2005 16:51:30 +0000 (16:51 +0000)
commit0ed5f90d736cc12b02c1adffcf1f3438e178834b
tree11fec63f2c64ee9f66d3698bf25c41ef25a750e6
parent70f7da3e6ec865a120f3a3fed6173ce20f7d485a
Try connecting to both postgres and template1 databases to do the initial
inspection of shared catalogs.  This allows pg_dumpall to continue to
work with pre-8.1 servers that likely won't have a database named postgres.
Also, suppress output of SYSID options for users and groups, since server
no longer does anything with these except emit a rude message.
There is much more to be done to update pg_dumpall for the roles feature,
but this at least makes it usable again.  Per gripe from Chris K-L.
src/bin/pg_dump/pg_dumpall.c