pgsql: REASSIGN OWNED: consider grants on tablespaces, too

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: REASSIGN OWNED: consider grants on tablespaces, too
Date: 2012-10-03 15:42:41
Message-ID: E1TJR5t-0001yw-3k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

REASSIGN OWNED: consider grants on tablespaces, too

Apparently this was considered in the original code (see commit
cec3b0a9) but I failed to notice that such entries would always be
skipped by the database check at the start of the loop.

Per bugs #7578 by Nikolay, #6116 by tushar(dot)qa(at)gmail(dot)com(dot)

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/3a937bf72f25c5c5f1ed6588a2ccf4be250306dc

Modified Files
--------------
src/backend/catalog/pg_shdepend.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2012-10-03 17:38:52 pgsql: Avoid planner crash/Assert failure with joins to unflattened sub
Previous Message Alvaro Herrera 2012-10-03 15:42:40 pgsql: REASSIGN OWNED: consider grants on tablespaces, too