Show default privileges in information schema Hitherto, the information schema only showed explicitly granted privileges that were visible in the *acl catalog columns. If no privileges had been granted, the implicit privileges were not shown.
To fix that, add an SQL-accessible version of the acldefault() function, and use that inside the aclexplode() calls to substitute the catalog-specific default privilege set for null values. reviewed by Abhijit Menon-Sen Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/b376ec6fa57bc76037014ede29498e2d1611968e Modified Files -------------- src/backend/catalog/information_schema.sql | 18 ++++---- src/backend/utils/adt/acl.c | 58 ++++++++++++++++++++++++++++ src/include/catalog/catversion.h | 2 +- src/include/catalog/pg_proc.h | 2 + src/include/utils/acl.h | 1 + src/test/regress/expected/foreign_data.out | 8 ++-- src/test/regress/sql/foreign_data.sql | 8 ++-- 7 files changed, 79 insertions(+), 18 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers