Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters - Mailing list pgsql-hackers

From David Steele
Subject Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters
Date
Msg-id ebe3c2bd-1cb1-89c5-7c60-87a0f8fcdabe@pgmasters.net
Whole thread Raw
In response to Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters  (Tatsuo Ishii <ishii@sraoss.co.jp>)
List pgsql-hackers
On 4/7/17 11:22 AM, Tatsuo Ishii wrote:
>>> Recently I've discovered that if there are multiple values of the same
>>> parameter in postgresql.conf PostgreSQL will silently use the last one.
>>> It looks like not the best approach to me. For instance, user can find
>>> the first value in the config file and expect that it will be used, etc.
>>>
>>> I suggest to warn users about duplicated parameters. Here is a
>>> corresponding patch.
>>>
>>> Thoughts?
>>
>> -1 - I frequently just override earlier parameters by adding an include
>> at the end of the file.  Also, with postgresql.auto.conf it's even more
>> common to override parameters.
> 
> -1 from me too by the same reason Andres said.

-1 from me for the same reason.

-- 
-David
david@pgmasters.net



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters
Next
From: Euler Taveira
Date:
Subject: Re: [HACKERS] [PATCH] Warn users about duplicate configuration parameters