Re: Opening stdin/stdout in binary mode on Windows

Tom Lane <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
"Merlin Moncure" <[email protected]> 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

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.