Skip site navigation (1) Skip section navigation (2)

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

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-0005Ko-NZ@gemulon.postgresql.org (view raw or flat)
Thread:
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
------
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(-)


pgsql-committers by date

Next:From: Heikki LinnakangasDate: 2012-12-10 16:30:59
Subject: pgsql: Fix the tracking of min recovery point timeline.
Previous:From: Tom LaneDate: 2012-12-08 23:27:54
Subject: pgsql: Support automatically-updatable views.

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