| From: | Bernhard D Rohrer <graylion(at)sm-wg(dot)net> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | pgsql-admin(at)postgresql(dot)org |
| Subject: | Re: pg recovery |
| Date: | 2008-01-02 09:46:00 |
| Message-ID: | 477B5D58.2010409@sm-wg.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
Tom Lane wrote:
> Bernhard D Rohrer <graylion(at)sm-wg(dot)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(at)collab:/home/adminlion# cat /var/lib/postgresql/8.1/main/PG_VERSION
8.1
root(at)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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Glyn Astill | 2008-01-02 11:33:11 | Shutting down warm standby server? " |
| Previous Message | Guillaume Lelarge | 2008-01-02 08:37:11 | Re: What's the XID? |