Postgresql 8.0.10 on FC4

From: Dianne Yumul <dianne(at)wellsgaming(dot)com>
To: PostgreSQL List <pgsql-general(at)postgresql(dot)org>
Subject: Postgresql 8.0.10 on FC4
Date: 2007-01-19 20:52:42
Message-ID: A4410B16-5C71-4B6D-A962-7A0871C0FE40@wellsgaming.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ron Johnson 2007-01-19 21:23:41 Re: Spam from EnterpriseDB?
Previous Message Scott Ribe 2007-01-19 20:35:26 Re: Clearing plans