| From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
|---|---|
| To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
| 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 20:50:21 |
| Message-ID: | Pine.LNX.4.30.0110141654470.849-100000@peter.localdomain |
| Views: | Whole Thread | Raw Message | 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.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2001-10-14 20:51:16 | Re: Showing index details with \d on psql |
| Previous Message | Tom Lane | 2001-10-13 23:19:54 | Re: Showing index details with \d on psql |