REASSIGN OWNED: handle shared objects, too

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: ee22c55f5ad2e7b7032cd6c0243254d84d4496c7
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2013-01-28T21:45:50Z
Releases: 9.3.0
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.

Files

PathChange+/−
doc/src/sgml/ref/reassign_owned.sgml modified +5 −10
src/backend/catalog/pg_shdepend.c modified +8 −2