Re: unsupported header version error - Mailing list pgsql-admin

From Fredy Khan
Subject Re: unsupported header version error
Date
Msg-id BANLkTikj2gxkWLBkxmuvcfAmuZb41GrkZg@mail.gmail.com
Whole thread Raw
In response to Re: unsupported header version error  (Vibhor Kumar <vibhor.aim@gmail.com>)
List pgsql-admin
Thank you for your quick reply.

Well I am using windows XP and I have PgAdmin III 1.12.2 installed. I used backup to take the backup of the database in UTF-8 format. MY pg_dump and pg_restore both header version are 9.0.3.

The target PC where I want to restore my database also has windows xp installed with postgresql Version 9.0.3-1   with the same header versions i.e. pg_dump and pg_restore both header version are 9.0.3. On the target PC, I create a database, give it an owner, select templete 1 (as my orginal database template is template1) and then I restore my original database from my original PC using the right click database restore option in pgadminIII


On Wed, Apr 13, 2011 at 4:58 PM, Vibhor Kumar <vibhor.aim@gmail.com> wrote:
Attached Error Message shows, that pgAdmin's pg_restore is not compatible with the version of pg_dump binary which you have used to take the backup

Please let me know, How did you take the backup? and Please try with same version of pg_restore, which is of pg_dump.

To find the version of pg_dump and pg_restore, you can use following command:

pg_dump --version
pg_restore --version.

Thanks & Regards,
Vibhor.
On Apr 12, 2011, at 4:13 PM, Fredy Khan wrote:

> Well please find attached here the error details
>
> On Mon, Apr 11, 2011 at 9:35 PM, Vibhor Kumar <vibhor.aim@gmail.com> wrote:
>
> On Apr 9, 2011, at 11:58 PM, Fredy Khan wrote:
>
> > Hello,
> >
> > I get an unsupported header version error when I try to restore my database backup in another version of  postgres via pgadmin. I would appreciate some help in this matter.
>
> What;s error Message?
>
>
> > regards,
> >
> > Fredy Khan
>
> Thanks & Regards,
> Vibhor Kumar
> vibhor.aim@gmail.com
> Blog:http://vibhork.blogspot.com
>
>
> <error.bmp>

Thanks & Regards,
Vibhor Kumar
vibhor.aim@gmail.com
Blog:http://vibhork.blogspot.com


pgsql-admin by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Warm Standby on 8.4.7
Next
From: Eric Comeau
Date:
Subject: Re: How to log canceled SQL statement due to statement timeout