Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c9zUz-0007nq-HE for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Nov 2016 19:15:57 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1c9zUz-00076c-44 for pgsql-bugs@arkaria.postgresql.org; Thu, 24 Nov 2016 19:15:57 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c9zUK-0006NE-9O for pgsql-bugs@postgresql.org; Thu, 24 Nov 2016 19:15:16 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1c9zUH-0006wc-Tx for pgsql-bugs@postgresql.org; Thu, 24 Nov 2016 19:15:15 +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 uAOJF8tD028255; Thu, 24 Nov 2016 14:15:08 -0500 From: Tom Lane To: Michael Paquier cc: Julien Rouhaud , sudalai , PostgreSQL mailing lists Subject: Re: Index file got removed In-reply-to: References: <1479294998857-5930602.post@n3.nabble.com> <23523.1479317197@sss.pgh.pa.us> <25687.1479927019@sss.pgh.pa.us> <4723.1479941171@sss.pgh.pa.us> Comments: In-reply-to Michael Paquier message dated "Thu, 24 Nov 2016 11:34:13 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28253.1480014908.1@sss.pgh.pa.us> Date: Thu, 24 Nov 2016 14:15:08 -0500 Message-ID: <28254.1480014908@sss.pgh.pa.us> X-Pg-Spam-Score: -4.9 (----) 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 Michael Paquier writes: > And I just wrote a test case breaking my previous patch, please see > attached. The idea is just to use ADD CONSTRAINT foo { PRIMARY KEY | > UNIQUE } and check if default_tablespace works as expected. Perhaps > that's worth having in the test suite? There is currently no coverage > regarding for index additions done with ALTER TABLE and tablespaces. Looks like a good idea, except that I reordered the tests so that the stanza leaves default_tablespace back at its usual value, so it won't affect later tests. 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