[pgpool-committers: 10441] pgpool: Fall back to prompting for password if reading from .pcppass fi
Bo Peng
pengbo at sraoss.co.jp
Thu May 8 15:20:16 JST 2025
Fall back to prompting for password if reading from .pcppass file fails.
If reading password from .pcppass file fails, it should fall back to prompting the user for input,
similar to how PostgreSQL handles .pgpass.
This commit also changes the following messages to be displayed without requiring the -d option:
WARNING: password file \"%s\" is not a plain file
WARNING: password file \"%s\" has group or world access; permissions should be u=rw (0600) or less
Discussion: [pgpool-hackers: 4589] If reading password from .pcppass file fails, try to read it from prompt.
https://www.pgpool.net/pipermail/pgpool-hackers/2025-May/004590.html
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5f7d06d87256d0db53a7ec35cd13196768e31c0f
Modified Files
--------------
src/libs/pcp/pcp.c | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)
More information about the pgpool-committers
mailing list