REASSIGN OWNED: handle shared objects, too
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 28 Jan 2013 21:03:23 +0000 (18:03 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 28 Jan 2013 21:45:50 +0000 (18:45 -0300)
commitee22c55f5ad2e7b7032cd6c0243254d84d4496c7
tree162e51d5261c6c6ea0aac9f7f3de7c99f4919634
parentec41b8edc1192e87f4ad05471c176cc735bda2c9
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.
doc/src/sgml/ref/reassign_owned.sgml
src/backend/catalog/pg_shdepend.c