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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Update per-column ACLs, not only per-table ACL, when changing ta
Date: 2011-12-21 23:23:53
Message-ID: E1RdVVp-0004pu-Mu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c31224e257a57fc9ad1c602414d9f6f5f4ce4ae3

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

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2011-12-22 15:08:02 npgsql - Npgsql2: Fixed line endings.
Previous Message Robert Haas 2011-12-21 20:22:15 pgsql: Improve behavior of concurrent CLUSTER.