pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Jan Wieck <jan@wi3ck.info>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Alexander Shutyaev <shutyaev@gmail.com>
Cc: pgsql-general <pgsql-general@postgresql.org>
Subject: Re: pg_upgrade and wraparound
Date: Fri, 30 Apr 2021 15:32:54 -0400
Message-ID: <20210430193254.GA5370@momjian.us> (raw)
In-Reply-To: <e15fe338-c389-0571-7616-233170f2a30a@wi3ck.info>
References: <CAGBp8g_=Zxfiny8pa8sOb7pDxjzSGmcTBAJGYUrOJ6TDK9+nyQ@mail.gmail.com>
	<107c7c17-2e53-6cd1-1dbd-94d63f7a205f@aklaver.com>
	<9825.1528573946@sss.pgh.pa.us>
	<20180611170812.7ypf6xs6dlteo57j@alap3.anarazel.de>
	<7382.1528737252@sss.pgh.pa.us>
	<f09a8c8e-b936-9878-4665-f21d4009e034@wi3ck.info>
	<YEwVxHP5x7rOPwW5@paquier.xyz>
	<e15fe338-c389-0571-7616-233170f2a30a@wi3ck.info>

On Sat, Mar 13, 2021 at 08:43:54AM -0500, Jan Wieck wrote:
> On 3/12/21 8:30 PM, Michael Paquier wrote:
> > Hi Jan,
> > 
> > On Fri, Mar 12, 2021 at 06:13:33PM -0500, Jan Wieck wrote:
> > > One of the things in my way is that when using pg_resetwal to put the
> > > NextXID way into the future (to push the old cluster close to wraparound for
> > > example), the postmaster won't start because it doesn't have the pg_xact
> > > files for that around. Should pg_resetwal create the files in the gap
> > > between the old NextXID and the new one?
> > 
> > I think that you should add this patch to the next commit fest to
> > track it properly:
> > https://commitfest.postgresql.org/33/
> > --
> > Michael
> > 
> 
> Actually this is the wrong patch (this one is for PG-12, not for HEAD). Will
> update later today.
> 
> But yes, putting it into the next commitfest after initial discussion is the
> plan.

Uh, were either of these things done?

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.






view thread (30+ messages)  latest in thread

Message-ID: <20210430193254.GA5370@momjian.us>
Permalink:  ../20210430193254.GA5370@momjian.us/
Also on:    postgresql.org/message-id/20210430193254.GA5370@momjian.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-general@postgresql.org
  Cc: bruce@momjian.us, jan@wi3ck.info, michael@paquier.xyz, tgl@sss.pgh.pa.us, andres@anarazel.de, adrian.klaver@aklaver.com, shutyaev@gmail.com
  Subject: Re: pg_upgrade and wraparound
  In-Reply-To: <20210430193254.GA5370@momjian.us>
  References: <CAGBp8g_=Zxfiny8pa8sOb7pDxjzSGmcTBAJGYUrOJ6TDK9+nyQ@mail.gmail.com> <107c7c17-2e53-6cd1-1dbd-94d63f7a205f@aklaver.com> <9825.1528573946@sss.pgh.pa.us> <20180611170812.7ypf6xs6dlteo57j@alap3.anarazel.de> <7382.1528737252@sss.pgh.pa.us> <f09a8c8e-b936-9878-4665-f21d4009e034@wi3ck.info> <YEwVxHP5x7rOPwW5@paquier.xyz> <e15fe338-c389-0571-7616-233170f2a30a@wi3ck.info> <20210430193254.GA5370@momjian.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