Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcYsr-0006uQ-Rq for pgsql-general@arkaria.postgresql.org; Fri, 30 Apr 2021 19:33:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lcYsp-0002ig-B1 for pgsql-general@arkaria.postgresql.org; Fri, 30 Apr 2021 19:33:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcYsp-0002iZ-3V for pgsql-general@lists.postgresql.org; Fri, 30 Apr 2021 19:33:03 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lcYsm-0005Oc-KB for pgsql-general@postgresql.org; Fri, 30 Apr 2021 19:33:02 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1lcYsg-0001WK-M8; Fri, 30 Apr 2021 15:32:54 -0400 Date: Fri, 30 Apr 2021 15:32:54 -0400 From: Bruce Momjian To: Jan Wieck Cc: Michael Paquier , Tom Lane , Andres Freund , Adrian Klaver , Alexander Shutyaev , pgsql-general Subject: Re: pg_upgrade and wraparound Message-ID: <20210430193254.GA5370@momjian.us> References: <107c7c17-2e53-6cd1-1dbd-94d63f7a205f@aklaver.com> <9825.1528573946@sss.pgh.pa.us> <20180611170812.7ypf6xs6dlteo57j@alap3.anarazel.de> <7382.1528737252@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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 https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.