Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpwE7-00EVSf-Hr for pgsql-admin@arkaria.postgresql.org; Wed, 05 Mar 2025 21:24:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tpwE6-0062wD-4j for pgsql-admin@arkaria.postgresql.org; Wed, 05 Mar 2025 21:24:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tpwE5-0062ud-P9 for pgsql-admin@lists.postgresql.org; Wed, 05 Mar 2025 21:24:25 +0000 Received: from mailout.easymail.ca ([64.68.200.34]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tpwE3-001Ayy-2w for pgsql-admin@lists.postgresql.org; Wed, 05 Mar 2025 21:24:24 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 701FAE2232; Wed, 5 Mar 2025 21:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1741209862; bh=BshFwyLZvByWVKajM7XTw9xuzZWhEiOpajF1duSXdDI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=4SAS+8T05k9Y30+1JZiJ3aWo/UL2x0EuwjhZMAQrU5p20TZc/qRPQcSTKEVmUeYPb acunBxnfcMhQ0w6fs50VGRLJYDrJB2oFDIAM15qFGTHHDp5csfMW3Bv1EvNvkzHj1C ihMalwh27NM6cwcaX7iI4bG9P5cYhPendhi/MzwMOH//6nPEg3bmFl1fmKs9knq7zV FZYjRHR63k4S53BgelnJ7H3jl8vN7YLCyLxkDf6zJv6E3kfqrh9Z7XTQdD7qZKIGKS hvML6Oc7fbHNIgUHDMPdfMVMHapCwOT+jJYXlOObsLlpiHlKwqR/HMtbWD3IQwTAIg GBoDSVU9fIRkA== X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 35h9z1_LvCrA; Wed, 5 Mar 2025 21:24:22 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 000F5E2218; Wed, 5 Mar 2025 21:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1741209862; bh=BshFwyLZvByWVKajM7XTw9xuzZWhEiOpajF1duSXdDI=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=4SAS+8T05k9Y30+1JZiJ3aWo/UL2x0EuwjhZMAQrU5p20TZc/qRPQcSTKEVmUeYPb acunBxnfcMhQ0w6fs50VGRLJYDrJB2oFDIAM15qFGTHHDp5csfMW3Bv1EvNvkzHj1C ihMalwh27NM6cwcaX7iI4bG9P5cYhPendhi/MzwMOH//6nPEg3bmFl1fmKs9knq7zV FZYjRHR63k4S53BgelnJ7H3jl8vN7YLCyLxkDf6zJv6E3kfqrh9Z7XTQdD7qZKIGKS hvML6Oc7fbHNIgUHDMPdfMVMHapCwOT+jJYXlOObsLlpiHlKwqR/HMtbWD3IQwTAIg GBoDSVU9fIRkA== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3826.400.131.1.6\)) Subject: Re: Comparing Parameters PRE- and POST- Upgrade - Any script? From: Scott Ribe In-Reply-To: Date: Wed, 5 Mar 2025 14:24:11 -0700 Cc: Ron Johnson , Pgsql-admin Content-Transfer-Encoding: quoted-printable Message-Id: <5E4F62CA-BFEA-4F54-B1CB-F47D23CA32E1@elevated-dev.com> References: To: Edwin UY X-Mailer: Apple Mail (2.3826.400.131.1.6) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Mar 5, 2025, at 2:18=E2=80=AFPM, Edwin UY = wrote: >=20 > Thanks, I thought pg_upgrade will somehow insert/update it with new = parameters of sorts. No. So you wind up with new parameters just getting defaults, and not = specified or documented in the file. Couple of ways around this: - Put your parameters in a separate file that's included into = postgresql.conf. - Generate a new db, diff its config against the old one to see what's = new that you might want to change, and use it with the inclusion of your = settings.=