Re: pg_restore stalled ???

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore stalled ???
Date: 2008-10-01 15:28:23
Message-ID: 20081001152822.GA7975@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gauthier, Dave <dave(dot)gauthier(at)intel(dot)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°

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2008-10-01 15:52:14 Re: pg_restore stalled ???
Previous Message Bill Moran 2008-10-01 15:25:22 Re: How to force PostgreSQL to use multiple cores within one connection?