From: | Stephen Frost <sfrost(at)snowman(dot)net> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Correctly dump database and tablespace ACLs |
Date: | 2016-07-17 13:04:55 |
Message-ID: | E1bOlkd-0001D2-Pa@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Correctly dump database and tablespace ACLs
Dump out the appropriate GRANT/REVOKE commands for databases and
tablespaces from pg_dumpall to replicate what the current state is.
This was broken during the changes to buildACLCommands for 9.6+
servers for pg_init_privs.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/47f5bb9f539a7fff089724b1cbacc31613031895
Modified Files
--------------
src/bin/initdb/initdb.c | 27 +------
src/bin/pg_dump/pg_dumpall.c | 95 +++++++++++++++++++-----
src/bin/pg_dump/t/002_pg_dump.pl | 153 +++++++++++++++++++++++++++++++++++++++
3 files changed, 231 insertions(+), 44 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2016-07-17 13:42:16 | pgsql: Use correct symbol for minimum int64 value |
Previous Message | Noah Misch | 2016-07-16 22:48:08 | Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold < |