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

From Tom Lane
Subject pgsql: Update per-column ACLs, not only per-table ACL, when changing ta
Date
Msg-id E1RdVVp-0004pz-SN@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7443ab2b348d190e8784a2684a5b6ae91f7dcd4b

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


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Update per-column ACLs, not only per-table ACL, when changing ta
Next
From: Tom Lane
Date:
Subject: pgsql: Update per-column ACLs, not only per-table ACL, when changing ta