Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters
Дата
Msg-id 20170408.002232.1519131147151674043.t-ishii@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters  (Andres Freund <andres@anarazel.de>)
Ответы Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters
Список pgsql-hackers
>> 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.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters
Следующее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [HACKERS] [PATCH] Warn users about duplicate configurationparameters