pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@postgresql.org
Cc: rlindner81@gmail.com
Subject: BUG #14996: psql shows password in some cases
Date: Wed, 03 Jan 2018 08:31:20 +0000
Message-ID: <20180103083120.10221.74013@wrigleys.postgresql.org> (raw)

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.



Message-ID: <20180103083120.10221.74013@wrigleys.postgresql.org>
Permalink:  ../20180103083120.10221.74013@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20180103083120.10221.74013@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, rlindner81@gmail.com
  Subject: Re: BUG #14996: psql shows password in some cases
  In-Reply-To: <20180103083120.10221.74013@wrigleys.postgresql.org>
  References: <20180103083120.10221.74013@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox