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 1nhdLa-0007Ss-0V for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Apr 2022 20:24:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nhdLY-0000Ru-Mp for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Apr 2022 20:24:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhdLY-0000QT-DO for pgsql-hackers@lists.postgresql.org; Thu, 21 Apr 2022 20:24:12 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhdLV-00078c-5g for pgsql-hackers@postgresql.org; Thu, 21 Apr 2022 20:24:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 23LKO4hl3476754; Thu, 21 Apr 2022 16:24:04 -0400 From: Tom Lane To: Robert Haas cc: Shruthi Gowda , Julien Rouhaud , Sadhuprasad Patro , Stephen Frost , Bruce Momjian , Andres Freund , Alvaro Herrera , Masahiko Sawada , Tom Kincaid , Amit Kapila , Thomas Munro , PostgreSQL Development , Masahiko Sawada Subject: Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce) In-reply-to: References: <20220115054719.yeqoy2mdllbc7wq2@jrouhaud> <2935358.1650479692@sss.pgh.pa.us> <2996609.1650488182@sss.pgh.pa.us> <3353761.1650563600@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Thu, 21 Apr 2022 15:25:11 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3476752.1650572644.1@sss.pgh.pa.us> Date: Thu, 21 Apr 2022 16:24:04 -0400 Message-ID: <3476753.1650572644@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Thu, Apr 21, 2022 at 1:53 PM Tom Lane wrote: >> 0001 attached is a revised patch that does it that way. This seems >> like a clearly better answer. >> 0002 contains the perhaps-slightly-more-controversial changes of >> changing the macro names and explicitly pinning no databases. > Both patches look good to me. Pushed, thanks for looking. regards, tom lane