Postgresql 8.0.10 on FC4 - Mailing list pgsql-general

From Dianne Yumul
Subject Postgresql 8.0.10 on FC4
Date
Msg-id A4410B16-5C71-4B6D-A962-7A0871C0FE40@wellsgaming.com
Whole thread Raw
Responses Re: Postgresql 8.0.10 on FC4  (Devrim GUNDUZ <devrim@CommandPrompt.com>)
List pgsql-general
Hello list,

I downloaded the 8.0.10 rpms for FC4 yesterday and after installing
it, postgresql won't start. I get the following error: "An old
version of the database format was found...."  My previous postgresql
version was 8.0.8 and I read nothing on the release notes about a
dump/restore/initdb requirement. I compared the postgresql startup
scripts (/etc/init.d/postgresql) for versions 8.0.8 and 8.0.10 and
the difference was the 8.0.10 no longer has the variable
$PGMAJORVERSION, i.e:

137c140
<               if [ `cat "$PGDATA/PG_VERSION"` != "$PGVERSION" ]
---
 >               if [ x`cat "$PGDATA/PG_VERSION"` !=
x"$PGMAJORVERSION" ]

After doing the necessary changes, the database started and
everything seems fine. I just want to make sure I didn't ruin
anything and the change was harmless (sorry, i'm a newbie). Thank you.

dianne

pgsql-general by date:

Previous
From: Scott Ribe
Date:
Subject: Re: Clearing plans
Next
From: Ron Johnson
Date:
Subject: Re: Spam from EnterpriseDB?