Thread: pgsql: REASSIGN OWNED: handle shared objects, too

pgsql: REASSIGN OWNED: handle shared objects, too

From
Alvaro Herrera
Date:
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(-)