pgsql: REASSIGN OWNED: consider grants on tablespaces, too - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: REASSIGN OWNED: consider grants on tablespaces, too
Date
Msg-id E1TJR5t-0001yw-3k@gemulon.postgresql.org
Whole thread Raw
List 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.qa@gmail.com.

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(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: REASSIGN OWNED: consider grants on tablespaces, too
Next
From: Tom Lane
Date:
Subject: pgsql: Avoid planner crash/Assert failure with joins to unflattened sub