| From: | Tatsuo Ishii <ishii(at)postgresql(dot)org> |
|---|---|
| To: | pgpool-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgpool: Fix pg_enc not working if both -p and -P are provided. |
| Date: | 2025-09-24 01:44:01 |
| Message-ID: | E1v1EY5-00Bzo8-0L@gothos.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-committers |
Fix pg_enc not working if both -p and -P are provided.
In the original report (https://github.com/pgpool/pgpool2/issues/129:
[root(at)test1 bin]# ./pg_enc -p -P
db password:
encryption key:
encryption key not provided
Also I found a misleading comment:
case 'p': /* prompt for postgres password */
This is not appropriate since the password is not provided to
PostgreSQL. It is totally unrelated to the issue but I replaced it
with following in this opportunity:
case 'p': /* prompt for password to be encrypted */
Author: jinyang liu <liujy(at)highgo(dot)com>
Discussion: https://www.postgresql.org/message-id/7f18c30b.237.1997555ca11.Coremail.liujy%40highgo.com
Backpatch-through: v4.2
Branch
------
V4_3_STABLE
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=51f20fbad3c4ef4c1143a0325bb8792eb7f86d75
Modified Files
--------------
src/tools/pgenc/pg_enc.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2025-09-24 01:44:06 | pgpool: Fix pg_enc not working if both -p and -P are provided. |
| Previous Message | Tatsuo Ishii | 2025-09-24 01:43:55 | pgpool: Fix pg_enc not working if both -p and -P are provided. |