CVS, initdb and catalog version

From: "Laurent Duperval" <lduperval(at)microcelli5(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: CVS, initdb and catalog version
Date: 2001-05-15 13:39:35
Message-ID: 9drbj7$1q3j$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I updated my source code from CVS and it looks like it creates a problem
because now, the server won't come up because of this error:

Starting postgresql service: + su -l postgres -c '/usr/local/bin/pg_ctl -D /usr/local/var/lib/pgsql/data -o -i -p /usr/local/bin/postmaster start'
postmaster successfully started
FATAL 2: database was initialized with CATALOG_VERSION_NO 200105101,
but the backend was compiled with CATALOG_VERSION_NO 200105145.
looks like you need to initdb.

and then:

initdb: The directory /usr/local/var/lib/pgsql/data exists but is not empty.
If you want to create a new database system, either remove or empty
the directory /usr/local/var/lib/pgsql/data or run initdb with
an argument other than /usr/local/var/lib/pgsql/data.

So does that mean that every time I update the CVS code I have to trash
my existing data? Not that it's really a problem yet, mind you. When I
have real data that I need to keep, I'll move to 7.1.1.

L

--
Laurent Duperval <mailto:lduperval(at)microcelli5(dot)com>

La situation se cornélise à vue d'oeil!
-Alambic Talon

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-05-15 13:56:05 Re: psql always ends with a SEGV:
Previous Message Valerio Santinelli 2001-05-15 13:34:38 Domains and PostgreSQL