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

Started by Tom Laneover 13 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b46c92112bf5afb2476d951b9817ebd8daa7b753

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers