pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Cc: Andres Freund <andres@anarazel.de>
Subject: Re: prion failed with ERROR: missing chunk number 0 for toast value 14334 in pg_toast_2619
Date: Sun, 15 Aug 2021 09:44:55 -0500
Message-ID: <20210815144455.GQ10479@telsasoft.com> (raw)
In-Reply-To: <2591376.1621196582@sss.pgh.pa.us>
References: <f03ea04a-9b77-e371-9ab9-182cb35db1f9@iki.fi>
	<2472976.1621117273@sss.pgh.pa.us>
	<2591376.1621196582@sss.pgh.pa.us>

On Sun, May 16, 2021 at 04:23:02PM -0400, Tom Lane wrote:
> 1. Fix FullXidRelativeTo to be a little less trusting.  It'd
> probably be sane to make it return FirstNormalTransactionId
> when it'd otherwise produce a wrapped-around FullXid, but is
> there any situation where we'd want it to throw an error instead?
> 
> 2. Change pg_resetwal to not do the above.  It's not entirely
> apparent to me what business it has trying to force
> autovacuum-for-wraparound anyway, but if it does need to do that,
> can we devise a less klugy method?
> 
> It also seems like some assertions in procarray.c would be a
> good idea.  With the attached patch, we get through core
> regression just fine, but the pg_upgrade test fails immediately
> after the "Resetting WAL archives" step.

#2 is done as of 74cf7d46a.

Is there a plan to include Tom's procarray assertions ?

-- 
Justin





view thread (18+ messages)  latest in thread

Message-ID: <20210815144455.GQ10479@telsasoft.com>
Permalink:  ../20210815144455.GQ10479@telsasoft.com/
Also on:    postgresql.org/message-id/20210815144455.GQ10479@telsasoft.com

 · 

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: pryzby@telsasoft.com, tgl@sss.pgh.pa.us, hlinnaka@iki.fi, andres@anarazel.de
  Subject: Re: prion failed with ERROR: missing chunk number 0 for toast value 14334 in pg_toast_2619
  In-Reply-To: <20210815144455.GQ10479@telsasoft.com>

* 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