Can I copy data file and use it with other version of Postgresql

From: ABC <marblerock26(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Can I copy data file and use it with other version of Postgresql
Date: 2007-01-21 13:02:10
Message-ID: 377204.77156.qm@web61217.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

We are facing a probelm and its very urgent to sort it out. Please Help.
The database server unexpectedly shutdown down due to power failure. On reboot, Postgresql server fails to start giving following Error:
----------------------------------------------------------------------------------------------------------
LOG: could not create IPv6 socket: Address family not supported by protocol
FATAL: database files are incompatible with server
DETAIL: The database cluster was initialized with PG_CONTROL_VERSION 0, but the server was compiled with PG_CONTROL_VERSION 72.
HINT: It looks like you need to initdb.
----------------------------------------------------------------------------------------------------------

we are using Mandrake Linux 9.1 and two version of Postgresql Version-7.4.2 and Postgresql Version-7.3.2 is installed
The Data directory is initialised with postgresql-7.4.2.
Postgresql -7.3.2 is not used .Postgresql-7.4.2 is used for managing Postgres Server.

Can I copy the Data Files and use tht Data with other Version of Postgresql ??.


---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.

Browse pgsql-admin by date

  From Date Subject
Next Message Chad Wagner 2007-01-21 14:01:53 Re: Can I copy data file and use it with other version of Postgresql
Previous Message ABC 2007-01-21 13:00:39 Uregent- data Recovery - PG_CONTROL_VERSION mismatch