Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T7Tv6-0004Mq-Uc for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 16:18:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T7Tv4-0007SC-Ke for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 16:18:08 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q7VGHx8L029704; Fri, 31 Aug 2012 12:17:59 -0400 (EDT) From: Tom Lane To: Alvaro Herrera cc: jeff , Pg Bugs Subject: Re: BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations In-reply-to: <1346425015-sup-3266@alvh.no-ip.org> References: <26225.1340419030@sss.pgh.pa.us> <1346425015-sup-3266@alvh.no-ip.org> Comments: In-reply-to Alvaro Herrera message dated "Fri, 31 Aug 2012 11:28:35 -0400" Date: Fri, 31 Aug 2012 12:17:59 -0400 Message-ID: <29703.1346429879@sss.pgh.pa.us> X-Pg-Spam-Score: -2.1 (--) X-Archive-Number: 201208/261 X-Sequence-Number: 33985 Alvaro Herrera writes: > Aha, I see the bug. It seems the split for AlterObjectNamespace_oid > related to tables was done at the wrong level: there should be a new > AlterTableNamespace_internal call that does all the extra stuff, and > which is to be called from AlterObjectNamespace_oid. Sounds reasonable to me. Are you going to fix it, or should I? If it was introduced in the extensions patch then it's my fault ... regards, tom lane