Skip site navigation (1) Skip section navigation (2)

Re: Opening stdin/stdout in binary mode on Windows

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)com>
Cc: pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: Opening stdin/stdout in binary mode on Windows
Date: 2005-01-26 18:48:05
Message-ID: 17349.1106765285@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
"Merlin Moncure" <merlin(dot)moncure(at)rcsonline(dot)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

In response to

pgsql-hackers-win32 by date

Next:From: Tom LaneDate: 2005-01-26 18:52:57
Subject: Re: Opening stdin/stdout in binary mode on Windows
Previous:From: Merlin MoncureDate: 2005-01-26 18:41:28
Subject: Re: Opening stdin/stdout in binary mode on Windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group