Re: BUG #17343: ! at end of password for psql throws error - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: BUG #17343: ! at end of password for psql throws error
Date
Msg-id CAKFQuwZOeRJPYL+5sjNvBiaoT=ARoVs7jcQY6ncQEcAYSh9jsQ@mail.gmail.com
Whole thread Raw
In response to BUG #17343: ! at end of password for psql throws error  (PG Bug reporting form <noreply@postgresql.org>)
List pgsql-bugs
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=&quot;Ubuntu&quot; VERSION=&quot;20.04.3 LTS (Focal Fossa)&quot;
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.

pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #17343: ! at end of password for psql throws error
Next
From: PG Bug reporting form
Date:
Subject: BUG #17344: Assert failed on queiring async_capable foreign table with inheritance