From: Tom Lane <tgl@sss.pgh.pa.us>
To: Condor <condor@stz-bg.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Question about PG_CONTROL_VERSION 1
Date: Wed, 14 Apr 2021 10:41:00 -0400
Message-ID: <3489436.1618411260@sss.pgh.pa.us> (raw)
In-Reply-To: <53e38022d2b31fafe44750fac5049d80@stz-bg.com>
References: <53e38022d2b31fafe44750fac5049d80@stz-bg.com>
Condor <condor@stz-bg.com> writes:
> I try restore from old hard drive an database. The system is not
> working, so I install new server, install postgres 9.0.3 and try to copy
> postgresql dir to new location but I receive error:
> 2021-04-14 11:47:04.205 UTC [10285] FATAL: database files are
> incompatible with server
> 2021-04-14 11:47:04.205 UTC [10285] DETAIL: The database cluster was
> initialized with PG_CONTROL_VERSION 1, but the server was compiled with
> PG_CONTROL_VERSION 903.
> 2021-04-14 11:47:04.205 UTC [10285] HINT: It looks like you need to
> initdb.
Yeah, that's corrupt :-(. Probably if you try pg_controldata you'll
find that pg_control is a complete mess.
regards, tom lane
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, condor@stz-bg.com
Subject: Re: Question about PG_CONTROL_VERSION 1
In-Reply-To: <3489436.1618411260@sss.pgh.pa.us>
References: <53e38022d2b31fafe44750fac5049d80@stz-bg.com> <3489436.1618411260@sss.pgh.pa.us>
* 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