Skip site navigation (1) Skip section navigation (2)

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-0001ys-0j@gemulon.postgresql.org (view raw or flat)
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
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/412a4295b5390cfe4fd5b9fc84a25c6e2d1aa0ad

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

pgsql-committers by date

Next:From: Tom LaneDate: 2012-10-03 17:38:52
Subject: pgsql: Avoid planner crash/Assert failure with joins to unflattenedsub
Previous:From: Alvaro HerreraDate: 2012-10-03 15:42:40
Subject: pgsql: REASSIGN OWNED: consider grants on tablespaces, too

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group