fatal error - different CATALOG_VERSION_NO
fatal error - different CATALOG_VERSION_NO
От:
"Thomas T. Thai" <tom@minnesota.com>
Дата:
i just cvs update and recompiled -current. upon starting up i get:
# su pgsql
$ pg_ctl start -w -D /var/pgsql/data&
$ Waiting for postmaster to start up...FATAL 2: database was initialized
with CATALOG_VERSION_NO
200012280,
but the backend was compiled with CATALOG_VERSION_NO 200101061.
looks like you need to initdb.
...............................
do i have to follow the upgrade procedures? i have some important data
that i don't want to lose or mess up on.
Re: fatal error - different CATALOG_VERSION_NO
От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Thomas T. Thai writes: > $ Waiting for postmaster to start up...FATAL 2: database was initialized > with CATALOG_VERSION_NO > 200012280, > but the backend was compiled with CATALOG_VERSION_NO 200101061. > looks like you need to initdb. > do i have to follow the upgrade procedures? Yes -- Peter Eisentraut peter_e@gmx.net http://yi.org/peter-e/
Re: fatal error - different CATALOG_VERSION_NO
От:
Tom Lane <tgl@sss.pgh.pa.us>
Дата:
>> $ Waiting for postmaster to start up...FATAL 2: database was initialized >> with CATALOG_VERSION_NO >> 200012280, >> but the backend was compiled with CATALOG_VERSION_NO 200101061. >> looks like you need to initdb. >> do i have to follow the upgrade procedures? > Yes If you're trying to store useful data in a CVS-tip installation, it's a good idea to pay close attention to the CVS logs, particularly http://www.postgresql.org/cgi/cvsweb.cgi/pgsql/src/include/catalog/catversion.h which will keep you posted on initdb-forcing changes. Or to be really safe, always do a backup before updating. regards, tom lane