BUG #14996: psql shows password in some cases

Started by PG Bug reporting formover 8 years ago1 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 14996
Logged by: Richard Lindner
Email address: rlindner81@gmail.com
PostgreSQL version: 10.1
Operating system: Windows
Description:

Hi,

I experienced what looks like a minor bug.

I use psql in a regular Windows Command shell and it works as expected for
most cases.

When I switch to reading from stdin however, it suddenly shows the password
I enter onscreen.

So
`psql -d garden < garden-backup.sql`

and similar will cause the password to be readable on screen.