Re: R: R: How to move a DB from one server to another...

Tom Lane <[email protected]> Thu, 23 Jun 2005 10:45:30 -0400
Newsgroups gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
"Federico Simonetti (Etheye)" <[email protected]> writes:
> uhm, you may have lost my first message... I said that I am unable to =
> run
> pg_restore on a different computer other than the one pg_dump was used =
> on. I
> always get a return code of 1 (error).

What is the error message, exactly?

You do realize that the default output format of pg_dump is a plain text
file that you just feed into psql?  pg_restore is only used with -Fc or -Ft
output formats.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend