pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@lists.postgresql.org, Michael Paquier <michael@paquier.xyz>
Subject: Re: REINDEX INDEX results in a crash for an index of pg_class since 9.6
Date: Tue, 07 May 2019 10:50:19 -0400
Message-ID: <28030.1557240619@sss.pgh.pa.us> (raw)
In-Reply-To: <20190506070105.2jo5f4vah5mo32m2@alap3.anarazel.de>
References: <20190502172851.klckhiyukqd3bd2t@alap3.anarazel.de>
	<10650.1556830451@sss.pgh.pa.us>
	<20190502210253.lt4p46dvllxarajg@alap3.anarazel.de>
	<17927.1556839099@sss.pgh.pa.us>
	<20190504130637.GA5975@paquier.xyz>
	<4622.1556982247@sss.pgh.pa.us>
	<20190505184816.p7nweo6bnh76k5ev@alap3.anarazel.de>
	<1105.1557115018@sss.pgh.pa.us>
	<037F6AFC-73CC-41B3-A0F0-75AF5AE06372@anarazel.de>
	<1236.1557115204@sss.pgh.pa.us>
	<20190506070105.2jo5f4vah5mo32m2@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> I for sure thought I earlier had an idea that'd actually work. But
> either I've lost it, or it didn't actually work. But perhaps somebody
> else can come up with something based on the above strawman ideas?

Both of those ideas fail if an autovacuum starts up after you're
done looking.  I still think the only way you could make this
reliable enough for the buildfarm is to do it in a TAP test that's
set up a cluster with autovacuum disabled.  Whether it's worth the
cycles to do so is pretty unclear, since that wouldn't be a terribly
real-world test environment.  (I also wonder whether the existing
TAP tests for reindexdb don't provide largely the same coverage.)

My advice is to let it go until we have time to work on getting rid
of the deadlock issues.  If we're successful at that, it might be
possible to re-enable these tests in the regular regression environment.

			regards, tom lane





view thread (82+ messages)  latest in thread

Message-ID: <28030.1557240619@sss.pgh.pa.us>
Permalink:  ../28030.1557240619@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28030.1557240619@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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, michael@paquier.xyz
  Subject: Re: REINDEX INDEX results in a crash for an index of pg_class since 9.6
  In-Reply-To: <28030.1557240619@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