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 1rQ9MC-00Gqa1-SG for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jan 2024 17:05:41 +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 1rQ9MB-00Ejwv-DR for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jan 2024 17:05:39 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rQ9MB-00Ejwm-3u for pgsql-hackers@lists.postgresql.org; Wed, 17 Jan 2024 17:05:39 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rQ9M4-002KGa-Cr for pgsql-hackers@lists.postgresql.org; Wed, 17 Jan 2024 17:05:38 +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 40HH5RU12040189; Wed, 17 Jan 2024 12:05:27 -0500 From: Tom Lane To: Alvaro Herrera cc: Daniel Gustafsson , Kyotaro Horiguchi , pgsql-hackers@lists.postgresql.org Subject: Re: initdb's -c option behaves wrong way? In-reply-to: <202401171615.uzdmkozzvo6x@alvherre.pgsql> References: <202401171615.uzdmkozzvo6x@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Wed, 17 Jan 2024 17:15:53 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2040187.1705511127.1@sss.pgh.pa.us> Date: Wed, 17 Jan 2024 12:05:27 -0500 Message-ID: <2040188.1705511127@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Alvaro Herrera writes: > Hmm, how about raising an error if multiple options are given targetting > the same GUC? 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. regards, tom lane