Re: error - Mailing list pgsql-bugs

From Magnus Hagander
Subject Re: error
Date
Msg-id CABUevEwfJmLMid_GAeEoWCRGcmcy3aOh3NUV-h1HTpNHNGBBOA@mail.gmail.com
Whole thread Raw
In response to error  (Abhishek Ramkumar <abhishek.ramkumar90@gmail.com>)
List pgsql-bugs
On Mon, Dec 10, 2012 at 11:24 AM, Abhishek Ramkumar
<abhishek.ramkumar90@gmail.com> wrote:
> hello
> every time  i try to restore a file to the database i get the following
> error
>
>
> C:/Program Files/PostgreSQL/8.4/bin\pg_restore.exe --host localhost --port
> 5432 --username postgres --dbname anchor --verbose "C:\Documents and
> Settings\parnitas\Desktop\anchor_07dec2012.backup"
> pg_restore: [archiver] unsupported version (1.12) in file header
>   kindly advice how to resolve the above error

Your dump is generated with pg_dump version 9.0 or newer. You cannot
restore that with pg_restore version 8.4, you need to use at least the
same version as the one you created the dump with.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

pgsql-bugs by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: BUG #7744: docs should link to postgresql_psycopg2
Next
From: Guy Incognito
Date:
Subject: Re: BUG #7738: Installer takes hours running icacls