Silvio Mazzaro <silvio(at)yepa(dot)com> writes:
> A made a tar backup copy of /var/lib/pgsql, but now (I'm still with Postgre
> 7.2 on a RedHat 7.3) restoring the data and launching the daemon i receive:
> postmaster successfully started
> bash-2.05$ FATAL 2: The database cluster was initialized with
> CATALOG_VERSION_NO 200101061,
> but the backend was compiled with CATALOG_VERSION_NO 200201121.
> It looks like you need to initdb.
That is evidently a 7.1 database, not a 7.2 database. I'm surprised
that you don't get the other version check message first --- we must
have gotten the order of testing a mite confused ... anyway you need a
7.1 server.
regards, tom lane