From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Adam Osuchowski <adwol(at)polsl(dot)gliwice(dot)pl>, pgsql-patches(at)postgresql(dot)org |
Subject: | Re: psql: default base and password reading |
Date: | 2001-10-14 23:01:43 |
Message-ID: | 200110142301.f9EN1hh21135@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
> Bruce Momjian writes:
>
> > Have you seen my later version that reads from stdin/stderr if /dev/tty
> > doesn't open. How is that?
>
> Might as well use getpass() if available. My man page says "A getpass
> function appeared in Version 7 AT&T UNIX.", so it should be available on
> most systems.
>
> However, I'm afraid many users have set up their systems to read the
> password from stdin, so that should probably stay the default unless we
> take a user poll.
OK, I am asking for votes for /dev/tty or stdin as the default for
reading passwords? I already have a few for /dev/tty and I assume one
for stdin (Peter E).
--
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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-10-14 23:03:45 | Re: psql: default base and password reading |
Previous Message | Tom Lane | 2001-10-14 22:07:54 | Re: Showing index details with \d on psql |