Postgresql 8.0.10 on FC4
От | Dianne Yumul |
---|---|
Тема | Postgresql 8.0.10 on FC4 |
Дата | |
Msg-id | A4410B16-5C71-4B6D-A962-7A0871C0FE40@wellsgaming.com обсуждение исходный текст |
Ответы |
Re: Postgresql 8.0.10 on FC4
|
Список | 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 по дате отправления: