Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T7J9H-00012K-OL for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 04:48:03 +0000 Received: from smtprelay0124.b.hostedemail.com ([64.98.42.124] helo=smtprelay.b.hostedemail.com) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1T7J9E-0004Sv-H9 for pgsql-bugs@postgresql.org; Fri, 31 Aug 2012 04:48:02 +0000 Received: from filter.hostedemail.com (b-bigip1 [10.5.19.254]) by smtprelay06.b.hostedemail.com (Postfix) with SMTP id A65F229325A; Fri, 31 Aug 2012 04:47:58 +0000 (UTC) X-Panda: scanned! X-Spam-Summary: 50, 0, 0, , d41d8cd98f00b204, alvherre@alvh.no-ip.org, :::::::, RULES_HIT:152:355:379:599:601:800:945:960:967:973:988:989:1260:1277:1311:1313:1345:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1777:1792:2198:2199:2393:2525:2553:2560:2563:2682:2685:2693:2857:2859:2933:2937:2939:2942:2945:2947:2951:2954:3022:3027:3138:3139:3140:3141:3142:3352:3865:3866:3867:3868:3869:3871:3872:3873:3934:3936:3938:3941:3944:3947:3950:3953:3956:3959:4250:4321:4605:4659:5007:6261:7679:7903:9025:9036:9121:10004:10400:10848:10967:11256:11257:11658:11914:12050:12517:12519, 0, RBL:none, CacheIP:none, Bayesian:0.5, 0.5, 0.5, Netcheck:none, DomainCache:0, MSF:not bulk, SPF:fn, MSBL:0, DNSBL:none, Custom_rules:0:0:0 X-Session-Marker: 616C76686572726540616C76682E6E6F2D69702E6F7267 X-Filterd-Recvd-Size: 1837 Received: from perhan.alvh.no-ip.org (unknown [200.85.215.105]) (Authenticated sender: alvherre@alvh.no-ip.org) by omf03.b.hostedemail.com (Postfix) with ESMTPA; Fri, 31 Aug 2012 04:47:58 +0000 (UTC) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id B46666E5DD; Fri, 31 Aug 2012 00:47:54 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: Bruce Momjian , jeff , Pg Bugs Subject: Re: BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations From: Alvaro Herrera To: Tom Lane In-reply-to: <27716.1346383152@sss.pgh.pa.us> References: <26225.1340419030@sss.pgh.pa.us> <20120830214826.GC32350@momjian.us> <27716.1346383152@sss.pgh.pa.us> Date: Fri, 31 Aug 2012 00:47:54 -0400 Message-Id: <1346388417-sup-7175@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201208/253 X-Sequence-Number: 33977 Excerpts from Tom Lane's message of jue ago 30 23:19:12 -0400 2012: > Bruce Momjian writes: > > On Fri, Jun 22, 2012 at 10:37:10PM -0400, Tom Lane wrote: > >> jeff@pgexperts.com writes: > >>> DROP and CREATE extension appear to work fine, but if you ALTER EXT= ENSION > >>> postgis SET SCHEMA foo, it leaves a few relations behind. >=20 > >> What it seems to be leaving behind is indexes ... also relation rowt= ypes. >=20 > > Uh, did this get fixed? I can't find a commit related to the fix. >=20 > No, it's still an open issue. Hmm, I think this might be my bug. I will have a look at this; not sure if I'll be able to do it tomorrow, though (and certainly not during the weekend). --=20 =C3=81lvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services