]> granicus.if.org Git - postgresql/commit
Update per-column ACLs, not only per-table ACL, when changing table owner.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Dec 2011 23:23:30 +0000 (18:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Dec 2011 23:23:30 +0000 (18:23 -0500)
commit9e2b3db158aeb6f8dfbe1243ba0f1a7bcdc0c54d
tree1ab083ebbd919780116b42c56ff5316bbf40ff72
parentae25b3ba86b4a7a389cc6b90624bcefa1c887879
Update per-column ACLs, not only per-table ACL, when changing table owner.

We forgot to modify column ACLs, so privileges were still shown as having
been granted by the old owner.  This meant that neither the new owner nor
a superuser could revoke the now-untraceable-to-table-owner permissions.
Per bug #6350 from Marc Balmer.

This has been wrong since column ACLs were added, so back-patch to 8.4.
src/backend/commands/tablecmds.c