pgsql: Try connecting to both postgres and template1 databases to do the

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Try connecting to both postgres and template1 databases to do the
Date: 2005-07-08 16:51:30
Message-ID: 20050708165130.9CFBA529F1@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_dumpall.c (r1.62 -> r1.63)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_dumpall.c.diff?r1=1.62&r2=1.63)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-07-08 18:41:41 pgsql: Fix config file lexer to not barf if postgresql.conf ends with a
Previous Message Tom Lane 2005-07-08 15:25:47 pgsql: Make libpq_gettext save and restore errno in a Windows-compatible