[pgpool-hackers: 3949] Re: Simplify pgpool.conf

Tatsuo Ishii ishii at sraoss.co.jp
Wed Jul 7 17:54:32 JST 2021


> On 2021/07/05 11:27, Tatsuo Ishii wrote:
>> Currently sample files of pgpool.conf under src/sample have all the
>> configuration parameters regardless the clustering mode. For example,
>> "replicate_select" is not applied to the streaming replication mode
>> but it's still in the config file and maybe a noise for the streaming
>> replication mode users. Attached is a PoC patch to remove those
>> unnecessary parameters in the config files. For now only config files
>> for the streaming replication mode and the snapshot isolation mode are
>> included in the patch.
> 
> It seems good to remove noisy parameters in the config file.
> 
> I think it's good to comment out unnecessary parameters instead of
> removing it completely. Like postgres. I feel that pgpool has more
> declared parameters than postgres in the config file.

One thing I am concerned is, PostgreSQL's comment represents that
particular parameter's default value, not that the parameter is not
necessary. But unlike Pgpool-II, PostgreSQL does not provide
purpose-specific configuration files. Thus commenting out parameters
could be a good idea for Pgpool-II.

Best regards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


More information about the pgpool-hackers mailing list