Re: R: R: How to move a DB from one server to another... - Mailing list pgsql-hackers-win32

From Tom Lane
Subject Re: R: R: How to move a DB from one server to another...
Date
Msg-id 5069.1119537930@sss.pgh.pa.us
Whole thread Raw
In response to R: R: How to move a DB from one server to another...  ("Federico Simonetti (Etheye)" <flame@etheye.com>)
List pgsql-hackers-win32
"Federico Simonetti (Etheye)" <flame@etheye.com> 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

pgsql-hackers-win32 by date:

Previous
From: Tom Lane
Date:
Subject: Re: R: How to move a DB from one server to another...
Next
From: Kostadin Zhelev
Date:
Subject: Extending PostgreSQL on Windows