Fix assorted bugs in privileges-for-types patch.
Tom 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.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/catalogs.sgml | modified | +2 −1 |
| src/backend/catalog/aclchk.c | modified | +5 −2 |
| src/backend/catalog/dependency.c | modified | +5 −0 |
| src/bin/pg_dump/dumputils.c | modified | +3 −0 |
| src/bin/pg_dump/pg_dump.c | modified | +85 −24 |
| src/bin/pg_dump/pg_dump.h | modified | +1 −0 |
| src/bin/psql/describe.c | modified | +9 −2 |