pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that
Date: 2005-09-11 00:36:35
Message-ID: 20050911003635.A6C71D786C@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Avoid changing stdin/stdout to binary mode on Windows unless that is
really the source or destination of the archive. I think this will
resolve recent complaints that password prompting is broken in pg_restore
on Windows. Note that password prompting and reading from stdin is an
unworkable combination on Windows ... but that was true anyway.

Tags:
----
REL8_0_STABLE

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_backup_archiver.c (r1.101.4.7 -> r1.101.4.8)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.101.4.7&r2=1.101.4.8)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-09-11 04:10:25 pgsql: Fix some corner-case bugs in _sendSQLLine's parsing of SQL
Previous Message Tom Lane 2005-09-11 00:36:15 pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that