Thread: BUG #17343: ! at end of password for psql throws error
The following bug has been logged on the website: Bug reference: 17343 Logged by: Hrittik Roy Email address: hrittik12d@gmail.com PostgreSQL version: 11.0 Operating system: NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)" Description: Hey, Currently, I am using Azure Database for PostgreSQL server and found an error while trying to connect to DB using psql. The error shows that having `!` at the end of the password for a connection string would make psql think that `!` is included in the host. This is problematic and the following picture would give you more information. Changing the password to not include the `!` at the end would resolve the error. https://imgur.com/vw9W5VK Thanks! PS: I tried searching google about this and no results were found. I started using postgresql last night and maybe this isn't that big of a deal/ already resolved. I am not certain but I thought to report it anyways.
On Friday, December 24, 2021, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:
Bug reference: 17343
Logged by: Hrittik Roy
Email address: hrittik12d@gmail.com
PostgreSQL version: 11.0
Operating system: NAME="Ubuntu" VERSION="20.04.3 LTS (Focal Fossa)"
Description:
Hey,
Currently, I am using Azure Database for PostgreSQL server and found an
error while trying to connect to DB using psql. The error shows that having
`!` at the end of the password for a connection string would make psql think
that `!` is included in the host.
bash is complaining, not psql. Maybe try quoting the argument.
David J.