[LUNI] SuSe 9.2 Pro and Postgres

Erik Costlow erik at uhacc.org
Thu Feb 17 11:18:11 CST 2005


Samir Faci said:
> where do i set these options.. /etc/sysconfig/postgresql?
> output when i run:  /usr/bin/postmaster -D /var/lib/pgsql/data

Edit the init script directly (I'm using FC3). I would back up this init
script and then freshen the rpm to re-generate it with your most current
information.

> DETAIL:  The data directory was initialized by PostgreSQL version 7.3,
> which is not compatible with this version 7.4.7.
>
> anyway to convert them to 7.4.7 format?

There's a not about this inside the init script that may be more helpful.
"An old version of the database format was found.\nYou need to upgrade the
data format before using PostgreSQL.\nSee
$SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information."

My sysdocdir is /usr/share/doc/

"These RPMs no longer support any sort of upgrading process other than that
documented in the regular documentation.  That is, you must dump, upgrade,
initdb, and restore your data."


More information about the luni mailing list