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:42
Message-ID: 20070104174942.C00819FA4EE@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.

Tags:
----
REL8_2_STABLE

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

pgsql-committers by date

Next:From: Tom LaneDate: 2007-01-04 17:58:20
Subject: pgsql: Fix AddDefine to handle quotes properly.
Previous:From: Tom LaneDate: 2007-01-04 17:49:37
Subject: pgsql: Tweak pg_dumpall to add GRANT CONNECT ON DATABASE ...

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