<div dir="ltr"><div class="gmail_quote"><div dir="ltr">The <a name="m_-141117639313501424_m_1212553244803696016_GUC-POOL-PASSWD"></a><tt class="m_-141117639313501424m_1212553244803696016gmail-VARNAME">pool_passwd </tt>option [1]<tt class="m_-141117639313501424m_1212553244803696016gmail-VARNAME"> </tt>is specified relative to config file. But for greater flexibility absolute path should be accepted as well. <br><div class="gmail_quote"><div dir="ltr"><div><br></div>If pool_passwd option starts with /, let&#39;s treat it as absolute path. Otherwise, it is treated as relative path. <br><br>Patch attached. Original author - <span name="Derek Kulinski" class="m_-141117639313501424m_1212553244803696016gmail-gD">Derek Kulinski [2]. In NixOS, configuration files often </span>end up in world readable store, which is not the best place for storing password files.<br><br>[1] <a href="http://www.pgpool.net/docs/latest/en/html/runtime-config-connection.html#GUC-POOL-PASSWD" target="_blank">http://www.pgpool.net/docs/latest/en/html/runtime-config-connection.html#GUC-POOL-PASSWD</a><br>[2] <span name="Derek Kulinski" class="m_-141117639313501424m_1212553244803696016gmail-gD"><a href="https://github.com/NixOS/nixpkgs/pull/66224" target="_blank">https://github.com/NixOS/nixpkgs/pull/66224</a></span></div>
</div></div>
</div></div>