pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Julien Rouhaud <julien.rouhaud@dalibo.com>
Cc: sudalai <sudalait2@gmail.com>
Cc: PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Subject: Re: Index file got removed
Date: Thu, 24 Nov 2016 14:15:08 -0500
Message-ID: <28254.1480014908@sss.pgh.pa.us> (raw)
In-Reply-To: <CAB7nPqSS9+pVXFoW-WKp7NOep4usfR+3oDq3M3LoSdNbDmzLBw@mail.gmail.com>
References: <1479294998857-5930602.post@n3.nabble.com>
	<CAB7nPqRubsq9d1_ox=rkxLC-23QQ-1T3OUsiZ6O3B+RwqqqBRw@mail.gmail.com>
	<23523.1479317197@sss.pgh.pa.us>
	<e7f50e1e-afa2-a31a-7c40-a57e4c501485@dalibo.com>
	<bc019d06-5928-d814-3193-7669c802d71c@dalibo.com>
	<CAB7nPqSO534pVu5Uuqq9RVJKkCaoGxMnW-sVho8DpWgfeWK11w@mail.gmail.com>
	<25687.1479927019@sss.pgh.pa.us>
	<CAB7nPqS6AQAYs8RMdpNRrJzTwbTbbKZzLQpkQoWjKG=-QdiFRg@mail.gmail.com>
	<4723.1479941171@sss.pgh.pa.us>
	<CAB7nPqR-UN3-r-St_YWx-nQb+krQWANc8JiPJ+1Ssvo128W2Vw@mail.gmail.com>
	<CAB7nPqSS9+pVXFoW-WKp7NOep4usfR+3oDq3M3LoSdNbDmzLBw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier <michael.paquier@gmail.com> 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



view thread (15+ messages)  latest in thread

Message-ID: <28254.1480014908@sss.pgh.pa.us>
Permalink:  ../28254.1480014908@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28254.1480014908@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, michael.paquier@gmail.com, julien.rouhaud@dalibo.com, sudalait2@gmail.com
  Subject: Re: Index file got removed
  In-Reply-To: <28254.1480014908@sss.pgh.pa.us>
  References: <1479294998857-5930602.post@n3.nabble.com> <CAB7nPqRubsq9d1_ox=rkxLC-23QQ-1T3OUsiZ6O3B+RwqqqBRw@mail.gmail.com> <23523.1479317197@sss.pgh.pa.us> <e7f50e1e-afa2-a31a-7c40-a57e4c501485@dalibo.com> <bc019d06-5928-d814-3193-7669c802d71c@dalibo.com> <CAB7nPqSO534pVu5Uuqq9RVJKkCaoGxMnW-sVho8DpWgfeWK11w@mail.gmail.com> <25687.1479927019@sss.pgh.pa.us> <CAB7nPqS6AQAYs8RMdpNRrJzTwbTbbKZzLQpkQoWjKG=-QdiFRg@mail.gmail.com> <4723.1479941171@sss.pgh.pa.us> <CAB7nPqR-UN3-r-St_YWx-nQb+krQWANc8JiPJ+1Ssvo128W2Vw@mail.gmail.com> <CAB7nPqSS9+pVXFoW-WKp7NOep4usfR+3oDq3M3LoSdNbDmzLBw@mail.gmail.com> <28254.1480014908@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox