From: Bernhard D Rohrer <graylion@sm-wg.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: pg recovery
Date: Wed, 02 Jan 2008 09:46:00 +0000
Message-ID: <477B5D58.2010409@sm-wg.net> (raw)
In-Reply-To: <6006.1199115273@sss.pgh.pa.us>
References: <4778D3AC.7080108@sm-wg.net>
<6006.1199115273@sss.pgh.pa.us>
Tom Lane wrote:
> Bernhard D Rohrer <graylion@sm-wg.net> writes:
>> I have a broken database and not much clue about postgres, sorry for the
>> n00b questions :(
>
> I think you've got a cross-version problem, as in the database is really
> PG 8.0 or earlier but you're trying to run 8.1 against it. What is in
> the PG_VERSION file? Have you done "pg_resetxlog -f", and if so do you
> have the original pg_control file to put back?
>
> regards, tom lane
Hi Tom
I have not run "pg_resetxlog -f" on the pg_control file for which I
posted the output of pg_resetxlog -n
as for the versions see for yourself:
root@collab:/home/adminlion# cat /var/lib/postgresql/8.1/main/PG_VERSION
8.1
root@collab:/home/adminlion# cat
/olddrive/var/lib/postgresql/8.1/main/PG_VERSION
8.1
/olddrive is the former raid drive that holds the database I am trying
to restore.
thanks :)
Bernhard
--
Graylion's Fetish & Fashion Store
Goth and Kinky Boots, Clothing and Jewellery
http://www.graylion.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: graylion@sm-wg.net, tgl@sss.pgh.pa.us
Subject: Re: pg recovery
In-Reply-To: <477B5D58.2010409@sm-wg.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox