Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Xliqd-0000Fp-6f for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Nov 2014 18:28:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Xliqc-0001CU-6N for pgsql-bugs@arkaria.postgresql.org; Tue, 04 Nov 2014 18:28:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Xliqb-0001CO-LX for pgsql-bugs@postgresql.org; Tue, 04 Nov 2014 18:28:53 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XliqT-000561-6I for pgsql-bugs@postgresql.org; Tue, 04 Nov 2014 18:28:52 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id sA4ISUUG012243; Tue, 4 Nov 2014 13:28:30 -0500 From: Tom Lane To: marc@bloodnok.com cc: pgsql-bugs@postgresql.org Subject: Re: BUG #11867: Strange behaviour with composite types after resetting database tablespace In-reply-to: <20141104014957.23088.78673@wrigleys.postgresql.org> References: <20141104014957.23088.78673@wrigleys.postgresql.org> Comments: In-reply-to marc@bloodnok.com message dated "Tue, 04 Nov 2014 01:49:57 +0000" Date: Tue, 04 Nov 2014 13:28:30 -0500 Message-ID: <12242.1415125710@sss.pgh.pa.us> X-Pg-Spam-Score: -2.5 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org marc@bloodnok.com writes: > I have a script (below) that sets and resets the tablespace for a database > and drops and recreates a composite type. The script fails when trying to > re-create the previously dropped composite type because the type has > apparently been magically resuscitated by changing the tablespace for the > database. I assume this is a bug. I've confirmed that this patch fixes the described behavior: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=33f80f8480434f02beb940b8f0627d534f3fd3af regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs