Avoid trying to open /dev/tty on Win32. Some Win32 systems have
/dev/tty, but it isn't a device file and doesn't work as expected.
This fixes a known bug where psql does not prompt for a password on some
Backpatch to 8.1.X.
command.c (r1.161 -> r1.162)
sprompt.c (r1.12 -> r1.13)
pgsql-committers by date
|Next:||From: Bruce Momjian||Date: 2006-03-03 23:49:21|
|Subject: pgsql: Avoid trying to open /dev/tty on Win32.|
|Previous:||From: Tom Lane||Date: 2006-03-03 23:38:30|
|Subject: pgsql: Improve pg_dump and psql to use libpq's newer COPY support |