OSDN Git Service

Avoid changing stdin/stdout to binary mode on Windows unless that is
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Sep 2005 00:36:14 +0000 (00:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Sep 2005 00:36:14 +0000 (00:36 +0000)
commite1a7d1b9f3d33344b2eb09d94db1a62a93b29b30
tree2ae9102e94e3e3b01de5f47d3b8590435a6d2d0f
parentd1348895a7e1bf8cac4b4b10def6ce14b3885120
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