pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that
Date
Msg-id 20050911003635.A6C71D786C@svr1.postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix some corner-case bugs in _sendSQLLine's parsing of SQL