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 1rQBco-00H88X-Li for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jan 2024 19:30:59 +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 1rQBcn-00FAKD-PQ for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jan 2024 19:30:57 +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 1rQBcn-00FAK5-5x for pgsql-hackers@lists.postgresql.org; Wed, 17 Jan 2024 19:30:57 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rQBcj-002270-LO for pgsql-hackers@lists.postgresql.org; Wed, 17 Jan 2024 19:30:55 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id DCC852FD7BD8 for ; Wed, 17 Jan 2024 20:30:49 +0100 (CET) Received: from s981.loopia.se (unknown [172.22.191.5]) by s807.loopia.se (Postfix) with ESMTP id CC99C2E2A5FF; Wed, 17 Jan 2024 20:30:49 +0100 (CET) Received: from s898.loopia.se (unknown [172.22.191.5]) by s981.loopia.se (Postfix) with ESMTP id C9DCF22B176E; Wed, 17 Jan 2024 20:30:49 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.01 X-Spam-Level: X-Spam-Status: No, score=-1.01 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=disabled Received: from s979.loopia.se ([172.22.191.6]) by s898.loopia.se (s898.loopia.se [172.22.190.17]) (amavisd-new, port 10024) with LMTP id 9jeZMabMuAhY; Wed, 17 Jan 2024 20:30:49 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s979.loopia.se (Postfix) with ESMTPSA id 3324310BC457; Wed, 17 Jan 2024 20:30:49 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Re: initdb's -c option behaves wrong way? From: Daniel Gustafsson In-Reply-To: <2040188.1705511127@sss.pgh.pa.us> Date: Wed, 17 Jan 2024 20:30:48 +0100 Cc: Alvaro Herrera , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <5DFF3111-8ECA-4EF5-B614-9A4C9FAB29BC@yesql.se> References: <202401171615.uzdmkozzvo6x@alvherre.pgsql> <2040188.1705511127@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3696.120.41.1.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 17 Jan 2024, at 18:05, Tom Lane wrote: >=20 > Alvaro Herrera writes: >> Hmm, how about raising an error if multiple options are given = targetting >> the same GUC? >=20 > I don't see any reason to do that. The underlying configuration > files don't complain about duplicate entries, they just take the > last setting. Agreed, I think the patch as it stands now where it replaces case = insensitive, while keeping the original casing, is the best path forward. The issue = exist in 16 as well so I propose a backpatch to there. -- Daniel Gustafsson