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

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

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
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)