Re: Opening stdin/stdout in binary mode on Windows - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: Opening stdin/stdout in binary mode on Windows
Date
Msg-id 17349.1106765285@sss.pgh.pa.us
Whole thread Raw
In response to Re: Opening stdin/stdout in binary mode on Windows  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> I'll test...is there a quick way to reproduce the error?

Try
    pg_dump -Fc mydb >mydb.dump
    pg_restore -l mydb.dump
and see if pg_restore complains.  I'd suggest checking
all four combinations of writing to stdout or a named file and
having pg_restore read from stdin or a named file.

            regards, tom lane

pgsql-hackers-win32 by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: Opening stdin/stdout in binary mode on Windows
Next
From: Tom Lane
Date:
Subject: Re: Opening stdin/stdout in binary mode on Windows