pgsql: Correctly dump database and tablespace ACLs
pgsql: Correctly dump database and tablespace ACLs
От:
Stephen Frost <sfrost@snowman.net>
Дата:
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(-)