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:11 +0000 (18:23 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Dec 2011 23:23:11 +0000 (18:23 -0500)
commitc31224e257a57fc9ad1c602414d9f6f5f4ce4ae3
tree7e4969e36673940f03e8b567fb141c99fba84f44
parentcbe24a6dd8fb224b9585f25b882d5ffdb55a0ba5
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