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 1mxXgh-00081Y-IO for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Dec 2021 17:03:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxXgg-0006Qc-EE for pgsql-hackers@arkaria.postgresql.org; Wed, 15 Dec 2021 17:03:30 +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 1mxXgf-0006N8-Po for pgsql-hackers@lists.postgresql.org; Wed, 15 Dec 2021 17:03:30 +0000 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxXgb-0003EL-BY for pgsql-hackers@postgresql.org; Wed, 15 Dec 2021 17:03:28 +0000 Received: by mail-pj1-x102b.google.com with SMTP id r34-20020a17090a43a500b001b0f0837ce8so4839872pjg.2 for ; Wed, 15 Dec 2021 09:03:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=OI7ESorobjude2Gs6aS42c7ORrpeo+C+Jca3zb0vsRQ=; b=fQGZ2eU1ndCaY7I4ZAazq20mXZ8l0dMGsjKdWQ4n+pL6D97uqxXNn8QK58WJJti06l XN7cKuLiGQcOI6xFPVHs4fUlaRStq1nhvgq8/rCao6Ndv8GjdkA9+6aPzl6LrLBENS4E UcSfUAmllMExVRg3dga9EltlOR6ir/2cbON/+Jxo8FzM0yEOSz1B8oN0A1I+B/RgoNvE SR71eMLIhpTUfvuSBpuIOIWV0EVaAU3wjBA6fEPYmdpohbBo00pA5wioYOpWq+X1clvD zJREPqiUuIgh6dv7ZKnz4sY8fDblgbAoRzCK48rbMReXmrV0YTwfnR4u+Jv1QXHBUKmR 9IDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=OI7ESorobjude2Gs6aS42c7ORrpeo+C+Jca3zb0vsRQ=; b=nwzM1FuamytQCMZ65JvqHrSXHzBgm9DUKh9pmPqbkNbxfoO3ifrvm+fMNCCvVO3Gxv mtY/GV888DYPi4A3mOGFJ4mSv8ZSFeAfqKwTyGlcOdYYKs0XZ1jgEXGcTHRETqdeZj0F e/sGNFALkK4QWp5+dePzbsl6OR51ZiuxyPiPuI3RQw+BqIkVBeqSRoI8HdixMTkgk7L/ EI+yyGzKM3ITFAvxAqodtWKRc0xBOSkLbAysReTQhWD+VrL9lvcpPNWxS0CdJUGH4QPV BlyHKuoUGusdnr2C7qs9/+bV5M5Rl+2gBUE6FFBirPwjYeEb7pwxJ5DOu2yQde8PAGN2 L9ug== X-Gm-Message-State: AOAM531F2DK4nxlHhGc2YurIvmvBxnTMiDdIR2+5vKcROUUmMgKWuZJp Slct9rggom0iPDdI6jiZNSrBN7p0I+GqX0ZoceNUdHVxZfmqRz6c4j7zXVvzsrYKLfud7XQxus0 234mRLVqOM8W0CIpM+Gg8jjni7nXWfNEAFR1IVIUrMmRqVgjc9faznlj6Cey0VYmtSwYbSAdjho zfo8oXI2X+eVbLQrHdFr34HH8oDZIU9lWsh5sf X-Google-Smtp-Source: ABdhPJyHY+DoKYoOyPcVaL3ZzVPKH2hYrUmB2pgKFHbbwNka8y4MyWQ+XrSR7a64eE0ebE1XoD3NnQ== X-Received: by 2002:a17:902:9343:b0:148:a2e8:2c49 with SMTP id g3-20020a170902934300b00148a2e82c49mr5244153plp.152.1639587803975; Wed, 15 Dec 2021 09:03:23 -0800 (PST) Received: from localhost.localdomain ([45.113.251.168]) by smtp.gmail.com with ESMTPSA id w19sm2897823pga.80.2021.12.15.09.03.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 15 Dec 2021 09:03:23 -0800 (PST) Subject: Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce) From: tushar To: Robert Haas , Shruthi Gowda Cc: Sadhuprasad Patro , Stephen Frost , Bruce Momjian , Andres Freund , Alvaro Herrera , Masahiko Sawada , Tom Kincaid , Amit Kapila , Thomas Munro , PostgreSQL Development , Masahiko Sawada , Tom Lane References: Message-ID: Date: Wed, 15 Dec 2021 22:33:16 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------A1E35E00E46928082A0E849F" Content-Language: en-US X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------A1E35E00E46928082A0E849F Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit On 12/15/21 12:09 AM, tushar wrote: >> I spent much of today reviewing 0001. Here's an updated version, so >> far only lightly tested. Please check whether I've broken anything. > Thanks Robert, I tested from v96/12/13/v14 -> v15( with patch) > things are working fine i.e table /index relfilenode is preserved, > not changing after pg_upgrade. I covered tablespace OIDs testing scenarios and that is also preserved after pg_upgrade. -- regards,tushar EnterpriseDB https://www.enterprisedb.com/ The Enterprise PostgreSQL Company --------------A1E35E00E46928082A0E849F Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit
On 12/15/21 12:09 AM, tushar wrote:
I spent much of today reviewing 0001. Here's an updated version, so
far only lightly tested. Please check whether I've broken anything.
Thanks Robert, I tested from v96/12/13/v14 -> v15( with patch)
things are working fine i.e table /index relfilenode is preserved,
not changing after pg_upgrade.
I covered tablespace OIDs testing scenarios and that is also preserved after pg_upgrade.
-- 
regards,tushar
EnterpriseDB  https://www.enterprisedb.com/
The Enterprise PostgreSQL Company 
--------------A1E35E00E46928082A0E849F--