From: | Amit Langote <amitlangote09(at)gmail(dot)com> |
---|---|
To: | Danylo Hlynskyi <abcz2(dot)uprola(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: [PATCH] Absolute passwordfile path |
Date: | 2019-08-07 06:17:59 |
Message-ID: | CA+HiwqHzj6Jm+zVuGGeTM20T=6-hAj=zRxQ9nOmc3PjzN3va7Q@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hello,
On Wed, Aug 7, 2019 at 3:05 PM Danylo Hlynskyi <abcz2(dot)uprola(at)gmail(dot)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.
>
> [1] http://www.pgpool.net/docs/latest/en/html/runtime-config-connection.html#GUC-POOL-PASSWD
> [2] https://github.com/NixOS/nixpkgs/pull/66224
Did you mean to send this email to pgpool-hackers(at)pgpool(dot)net or
somewhere else like a NixOS mailing list, not
pgsql-hackers(at)lists(dot)postgresql(dot)org? This list is used to discuss the
topics related to PostgreSQL development.
Regards,
Amit
From | Date | Subject | |
---|---|---|---|
Next Message | Danylo Hlynskyi | 2019-08-07 06:28:38 | Re: [PATCH] Absolute passwordfile path |
Previous Message | Pavel Stehule | 2019-08-07 06:11:19 | Re: proposal: type info support functions for functions that use "any" type |