pgsql: Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ...
Date: 2007-01-04 17:49:37
Message-ID: 20070104174937.B72169FA4DD@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ... TO PUBLIC when dumping
database privileges from a pre-8.2 server. This ensures that the reloaded
database will maintain the same behavior it had in the previous installation,
ie, everybody has connect privilege. Per gripe from L Bayuk.

Modified Files:
--------------
pgsql/src/bin/pg_dump:
dumputils.c (r1.33 -> r1.34)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/dumputils.c.diff?r1=1.33&r2=1.34)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-01-04 17:49:42 pgsql: Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ...
Previous Message Tom Lane 2007-01-04 16:29:42 pgsql: Fix some small typos in comments.