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-0004q0-PF@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
------
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(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Improve behavior of concurrent CLUSTER.
Next
From: Tom Lane
Date:
Subject: pgsql: Update per-column ACLs, not only per-table ACL, when changing ta