Thread: pgsql: Update per-column ACLs, not only per-table ACL, when changing ta

pgsql: Update per-column ACLs, not only per-table ACL, when changing ta

From
Tom Lane
Date:
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.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9e2b3db158aeb6f8dfbe1243ba0f1a7bcdc0c54d

Modified Files
--------------
src/backend/commands/tablecmds.c |   75 ++++++++++++++++++++++++++++++++++++++
1 files changed, 75 insertions(+), 0 deletions(-)