Re: [BUGS] BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations

2012-09-23 Thread Tom Lane
Dimitri Fontaine writes: > Dimitri Fontaine writes: >> I think we shouldn't change the content of pg_depend lightly here, and > So here's a patch following that idea. I've got to say that I think this is fundamentally the wrong approach: rather than fixing the generic problem of ALTER EXTENSION

Re: [BUGS] BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations

2012-09-23 Thread Tom Lane
Alvaro Herrera writes: > Excerpts from Tom Lane's message of vie ago 31 17:50:41 -0400 2012: >> We already have some such shortcut for ALTER OWNER, IIRC, so why not >> for SET SCHEMA as well? I suspect that AlterRelationNamespaceInternal >> is not the only function that needs it, too. > It doesn