Avoid changing stdin/stdout to binary mode on Windows unless that is
authorTom Lane <[email protected]>
Sun, 11 Sep 2005 00:36:35 +0000 (00:36 +0000)
committerTom Lane <[email protected]>
Sun, 11 Sep 2005 00:36:35 +0000 (00:36 +0000)
commit8557548002bdbe7319b2eaedd8aa47e5ece47427
treea8440f611040691356cdfeb3857cccdf91449f0c
parent6786837a750fd9f9113d9f79ba1b81901ec57c18
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.
src/bin/pg_dump/pg_backup_archiver.c