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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that
Date: 2005-09-11 00:36:15
Message-ID: 20050911003615.31425D8B1F@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Modified Files:
--------------
pgsql/src/bin/pg_dump:
pg_backup_archiver.c (r1.114 -> r1.115)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/pg_backup_archiver.c.diff?r1=1.114&r2=1.115)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-09-11 00:36:35 pgsql: Avoid changing stdin/stdout to binary mode on Windows unless that
Previous Message User Dpavlin 2005-09-10 23:09:09 pgestraier - pgestraier: subversion revision 45 commited to CVS