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: Michael Paquier <michael@paquier.xyz>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: REINDEX INDEX results in a crash for an index of pg_class since 9.6
Date: Thu, 02 May 2019 12:02:44 -0400
Message-ID: <5531.1556812964@sss.pgh.pa.us> (raw)
In-Reply-To: <20190502155612.ep5wqyninmkrz6uh@alap3.anarazel.de>
References: <20190501170603.hx6r3ztyvi3rlgq6@alap3.anarazel.de>
	<20190501172115.4cvz3rp6np43odut@alap3.anarazel.de>
	<5483.1556737736@sss.pgh.pa.us>
	<16043.1556754084@sss.pgh.pa.us>
	<20190502012520.eyfhhn5ix2ooflys@alap3.anarazel.de>
	<27459.1556762513@sss.pgh.pa.us>
	<20190502021913.axyvyyyw5547swy5@alap3.anarazel.de>
	<25661.1556808540@sss.pgh.pa.us>
	<20190502153107.o5zadep4ehebzoqy@alap3.anarazel.de>
	<4870.1556811688@sss.pgh.pa.us>
	<20190502155612.ep5wqyninmkrz6uh@alap3.anarazel.de>

Andres Freund <andres@anarazel.de> writes:
> On 2019-05-02 11:41:28 -0400, Tom Lane wrote:
>> But don't we need to worry about resetting relfrozenxid?

> Indexes don't have that though? We couldn't do it for pg_class itself,
> but that's not a problem here.

Hmm.  Again, that seems like the sort of assumption that could bite
us later.  But maybe we could add some assertions that the new values
match the old?  I'll experiment.

			regards, tom lane





view thread (82+ messages)  latest in thread

Message-ID: <5531.1556812964@sss.pgh.pa.us>
Permalink:  ../5531.1556812964@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5531.1556812964@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, pgsql-hackers@lists.postgresql.org
  Subject: Re: REINDEX INDEX results in a crash for an index of pg_class since 9.6
  In-Reply-To: <5531.1556812964@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