Reading psql password from stdin

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-general <pgsql-general(at)postgreSQL(dot)org>
Subject: Reading psql password from stdin
Date: 2001-10-14 23:07:25
Message-ID: 200110142307.f9EN7Pr21390@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We have recently realized that psql and pg_dump read passwords from
stdin, rather than from the more traditional /dev/tty. I would like to
change the default to /dev/tty and read from stdin only when /dev/tty
can't be opened.

Is this good or bad? I need votes.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Keary Suska 2001-10-15 00:19:37 Re: Reading psql password from stdin
Previous Message Vic Cekvenich 2001-10-14 23:03:28 news server question