Fwd: [PATCH] Absolute passwordfile path - Mailing list pgsql-hackers

From Danylo Hlynskyi
Subject Fwd: [PATCH] Absolute passwordfile path
Date
Msg-id CANZg+ydYRM0aaUm2adZ88Gyzts+th=kd_VgUFgi1Yk9x-5jX3Q@mail.gmail.com
Whole thread Raw
Responses Re: [PATCH] Absolute passwordfile path  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: POC: Cleaning up orphaned files using undo logs
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: type info support functions for functions that use"any" type