[pgpool-hackers: 3367] Re: Fwd: [PATCH] Absolute passwordfile path
Bo Peng
pengbo at sraoss.co.jp
Wed Aug 7 15:56:36 JST 2019
Ishii-san,
On Wed, 7 Aug 2019 09:06:16 +0300
Danylo Hlynskyi <abcz2.uprola at gmail.com> wrote:
> The pool_passwd option [1] is specified relative to config file. But for
> greater flexibility absolute path should be accepted as well.
>
> If pool_passwd option starts with /, let's treat it as absolute path.
> Otherwise, it is treated as relative path.
>
> Patch attached. Original author - Derek Kulinski [2]. In NixOS,
> configuration files often end up in world readable store, which is not the
> best place for storing password files.
Thank you. But I couldn't see the patch.
> [1]
> http://www.pgpool.net/docs/latest/en/html/runtime-config-connection.html#GUC-POOL-PASSWD
> [2] https://github.com/NixOS/nixpkgs/pull/66224
--
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan
More information about the pgpool-hackers
mailing list