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 1kZrbI-0004Uq-GP for pgsql-general@arkaria.postgresql.org; Tue, 03 Nov 2020 08:23:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kZrbH-0004bA-GO for pgsql-general@arkaria.postgresql.org; Tue, 03 Nov 2020 08:23:31 +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 1kZipQ-0000qO-Ct for pgsql-general@lists.postgresql.org; Mon, 02 Nov 2020 23:01:32 +0000 Received: from smtp.osfda.org ([93.190.142.111]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kZipN-0002LN-DE for pgsql-general@postgresql.org; Mon, 02 Nov 2020 23:01:30 +0000 Received: from [192.168.0.101] (pool-68-132-239-153.nycmny.fios.verizon.net [68.132.239.153]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.osfda.org (Postfix) with ESMTPSA id 164BC15CA3A0; Tue, 3 Nov 2020 00:01:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=osfda.org; s=mail; t=1604358084; bh=yzcoycrYZkJut7KZPuMjHshZxUTj1TCcMZHVzffidFs=; h=Subject:From:To:Cc:References:Date:In-Reply-To:From; b=V87+BSvsCI4/gY1AZN95hil8Uo5X/ROS9ArNgW0bN9CPotyy1LRaShmiwbYrtd+qJ LPRr/rvn1dvpZlAF104AbCcwyqwjYxiSS4W80gSJqBENJ/4kH89++zWm4Lktx2JaiM eLAzkMk0th4Zv4t5NmlLveGzK5u0jL8WGLVUXm0DF/LI202kNbMFUfV5zSYIryrd17 jF/UEBpgGiCfejcCCfkVasZ7M0yD611qAxtmRYp+xNFbMRKRP7do93bzB//l5Mo2iR N1Pk6GQhpcE9Fm6AeNtGAIVEHPj1175OC8ZocOT7M72mU32YUw+EpRKxpj/QdpiYY8 QcaASBct6b2tA== Subject: Re: [PATCH] Warn users about duplicate configuration parameters From: "steve.b@osfda.org" To: andres@anarazel.de Cc: pgsql-general@postgresql.org References: Message-ID: Date: Mon, 2 Nov 2020 18:01:21 -0500 User-Agent: secret MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/alternative; boundary="------------8AFBB51197CCA843237FABDC" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is a multi-part message in MIME format. --------------8AFBB51197CCA843237FABDC Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit /*"I frequently just override earlier parameters by adding an include at the end of the file."*/ OK; that functionality is sensible enough for include files. But what about a clobbering setting in the SAME conf file? I don't think a warning in the log would be such a bad idea! (this just after I myself having gotten bitten by a duplicate entry spaced out over many lines...) ------------------------------------------------------------------------ (mail resent from validated mailbox...) --------------8AFBB51197CCA843237FABDC Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 7bit "I frequently just override earlier parameters by adding an include at the end of the file."

OK; that functionality is sensible enough for include files.
But what about a clobbering setting in the SAME conf file?

I don't think a warning in the log would be such a bad idea!

(this just after I myself having gotten bitten by a duplicate entry spaced out over many lines...)


(mail resent from validated mailbox...)

--------------8AFBB51197CCA843237FABDC--