Обсуждение: pgsql: Fix assorted bugs in privileges-for-types patch.

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)