]> granicus.if.org Git - postgresql/commit
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:35 +0000 (00:36 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 11 Sep 2005 00:36:35 +0000 (00:36 +0000)
commit3e711451f17e12daa15bf492e01dff9e76244e21
tree057de2e64bb39321d8b175becad8fae86ce53a37
parent16acb8bfd3b60441863603605e05dbe24e6801dc
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