Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group