pgcli icon indicating copy to clipboard operation
pgcli copied to clipboard

pgcli couldn't parse password that contained character '#'

Open leafonsword opened this issue 5 months ago • 2 comments

I have a section that contains character '#' in ~/.pg_service.conf, like

[staging_instance]
host=XXXX
port=5432
dbname=postgres
user=root
password=abc#123

using psql could login successfully

~# psql service=staging_instance
psql (13.20, server 15.12)
WARNING: psql major version 13, server major version 15.
         Some psql features might not work.
Type "help" for help.

postgres=>

but using pgcli still prompt input password

~# pgcli service=staging_instance
Password for root:

How could solve this?

leafonsword avatar May 29 '25 03:05 leafonsword