]> granicus.if.org Git - postgresql/commit
Arrange to remove pg_default_acl entries completely if their ACL setting
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Apr 2010 01:58:03 +0000 (01:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Apr 2010 01:58:03 +0000 (01:58 +0000)
commit60bd2b1941c6211e973770e69cfa33367cc5db48
treee2dd101d5b85cbc6d4c5f5ccabcf1498227bd4b2
parent9029df17c4a885b83ea2b000b4114d438578a51a
Arrange to remove pg_default_acl entries completely if their ACL setting
is changed to match the hard-wired default.  This avoids accumulating useless
catalog entries, and also provides a path for dropping the owning role without
using DROP OWNED BY.  Per yesterday's complaint from Jaime Casanova, the
need to use DROP OWNED BY for that is less than obvious, so providing this
alternative method might save some user frustration.
doc/src/sgml/ref/alter_default_privileges.sgml
src/backend/catalog/aclchk.c