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 1mxCiO-0005CH-D0 for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Dec 2021 18:39:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mxCiN-0002el-9O for pgsql-hackers@arkaria.postgresql.org; Tue, 14 Dec 2021 18:39:51 +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 1mxCiM-0002eb-Ky for pgsql-hackers@lists.postgresql.org; Tue, 14 Dec 2021 18:39:51 +0000 Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mxCiI-0004nk-5d for pgsql-hackers@postgresql.org; Tue, 14 Dec 2021 18:39:50 +0000 Received: by mail-pj1-x1029.google.com with SMTP id np3so15084962pjb.4 for ; Tue, 14 Dec 2021 10:39:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=DBlkmHrAt0OlkrREsJAy7cFfE/NuwY9axZLOaTk7HfI=; b=iCuWDQplxRUuQyOoFYND9PhPjpOwAdy/+ZamYSPSskgViiT9BhadT5p0XULRYppto/ uqhq8dIqrVlStMcLT3FfKVLU9h9fDBGukSxyXmcbqWN+B/A42rg1PXK5lE/foR0+uASj wm0PyT5PRe1VqbdbgGobrqnZalzScl4kyQFtS5D6rXd5RTwbo2flSxCqY47pHlOWwWHo xgYDPM8O7SEHRuLX/DCDrFhkxxYSAKzBMIWJpPIlW7yRbPRiIMbQ9AH/AuDgSkEHVTKa QW9IlLYJMjO/Ah7FpC8XcrZgXReZar3IodG8TM2lRBCaxDMGDcwrvgz07Hvq15nuFT2i ggOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=DBlkmHrAt0OlkrREsJAy7cFfE/NuwY9axZLOaTk7HfI=; b=DQgqaySQHqlwfoEd8/1yo0m51sPmJJSdeDj+yh0IaFDXK5nPZwkh144xOiTNQqrDrZ azpXCZIRWu2cpNySUhjeG/esKjpRJyZ+W7g9Jzebx2UJeJ6jqKPpxhGJkv8/Vr8BMqqU Q7og1QldhDMVpmBHz2Gy7fIyEGkhTXw0JxjgA3Uom4Bd8xIEdbZ62mVvn5GdY8C1El3z MzgMTvRw7KszJsxrqHFRYIw79VHUHxksiuQ4O4SUnfcXXQ+XTEJhwVr8L/H62TgM2cZp Vo1NVSydchFNJExJkpX6QUOVtQ7GEo2QGm85ioLTD8lpPr8S2OyTKuOaOt2RjwfZRfIw cGdw== X-Gm-Message-State: AOAM533cwpM6kyXx7obQaqwCTNRWziOl9azCu3K1x5jVTYv2FPv2KK7f VEzPB8pZvkz6+I2S9EOV7QkJiZT6Xu7NW6T7RCdbFgcq0vDkoLwuyE6ggFYWnUo7dur/Ov3Sxmm /oEG2/ycDyK4MNElp4SDFC8cIXpu2RdAeWh12It+2OEOfUZ83cMngDa+zV/CGyTqR1rtuACZVuh zRVj+O1W01QlNt0O0Lv+kbbqveWlU/ZuslfMqp X-Google-Smtp-Source: ABdhPJzNl3lFwZYV/7VN7M1+CQEPhmfSi9482kow7aZu80wprFi8KzcspQfuAy6VN+pRqcLaVfZasQ== X-Received: by 2002:a17:90a:9a8e:: with SMTP id e14mr7400251pjp.231.1639507183721; Tue, 14 Dec 2021 10:39:43 -0800 (PST) Received: from localhost.localdomain ([45.113.251.168]) by smtp.gmail.com with ESMTPSA id k91sm884839pja.1.2021.12.14.10.39.39 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 14 Dec 2021 10:39:43 -0800 (PST) Subject: Re: preserving db/ts/relfilenode OIDs across pg_upgrade (was Re: storing an explicit nonce) 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: From: tushar Message-ID: Date: Wed, 15 Dec 2021 00:09:36 +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: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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 On 12/14/21 2:35 AM, Robert Haas 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. -- regards,tushar EnterpriseDB https://www.enterprisedb.com/ The Enterprise PostgreSQL Company