pgsql: REASSIGN OWNED: handle shared objects, too - Mailing list pgsql-committers

From Alvaro Herrera
Subject pgsql: REASSIGN OWNED: handle shared objects, too
Date
Msg-id E1TzxFA-0006TR-U9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
REASSIGN OWNED: handle shared objects, too

Give away ownership of shared objects (databases, tablespaces) along
with local objects, per original code intention.  Try to make the
documentation clearer, too.

Per discussion about DROP OWNED's brokenness, in bug #7748.

This is not backpatched because it'd require some refactoring of the
ALTER/SET OWNER code for databases and tablespaces.

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/reassign_owned.sgml |   15 +++++----------
src/backend/catalog/pg_shdepend.c    |   10 ++++++++--
2 files changed, 13 insertions(+), 12 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: DROP OWNED: don't try to drop tablespaces/databases
Next
From: Alvaro Herrera
Date:
Subject: pgsql: DROP OWNED: don't try to drop tablespaces/databases