pgsql: Fix assorted bugs in privileges-for-types patch.

Lists: pgsql-committers
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix assorted bugs in privileges-for-types patch.
Date: 2012-12-09 05:08:55
Message-ID: E1ThZ8J-0005Kq-NR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

Fix assorted bugs in privileges-for-types patch.

Commit 729205571e81b4767efc42ad7beb53663e08d1ff added privileges on data
types, but there were a number of oversights. The implementation of
default privileges for types missed a few places, and pg_dump was
utterly innocent of the whole concept. Per bug #7741 from Nathan Alden,
and subsequent wider investigation.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6cb8c6043ee47ced46da131bc0705e9c4bdd8667

Modified Files
--------------
doc/src/sgml/catalogs.sgml | 3 +-
src/backend/catalog/aclchk.c | 7 ++-
src/backend/catalog/dependency.c | 5 ++
src/bin/pg_dump/dumputils.c | 3 +
src/bin/pg_dump/pg_dump.c | 109 +++++++++++++++++++++++++++++--------
src/bin/pg_dump/pg_dump.h | 1 +
src/bin/psql/describe.c | 11 +++-
7 files changed, 110 insertions(+), 29 deletions(-)