Re: pg_restore stalled ??? - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: pg_restore stalled ???
Date
Msg-id 20081001152822.GA7975@tux
Whole thread Raw
In response to pg_restore stalled ???  ("Gauthier, Dave" <dave.gauthier@intel.com>)
List pgsql-general
Gauthier, Dave <dave.gauthier@intel.com> schrieb:

> Hi:
>
>
>
> I did a pg_dump of a v8,2,5 db using...
>
>
>
> pg_dump –C –file=thedb.pgdump thedb

This create a plain text dump.



>
>
>
> I’m attempting to restore in v8.3.4 using pg_restore running under v8.3.4
> using...
>
>
>
> pg_restore –f mydb.pgdump –i –C

pg_restore expect a dump in the custom format.

Please, read the docu about pg_dump and pg_restore. To restore a plain
text dump use psql instead.



Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

pgsql-general by date:

Previous
From: Bill Moran
Date:
Subject: Re: How to force PostgreSQL to use multiple cores within one connection?
Next
From: Tom Lane
Date:
Subject: Re: pg_restore stalled ???