Search Postgresql Archives

Postgresql 8.0.10 on FC4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux