From: wrobell Date: Thu, 10 May 2001 08:33:59 +0000 (+0000) Subject: - 7.0.x database catalog is not compatibile with 7.1 catalog X-Git-Tag: postgresql-7_1_1-2~3 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=cd89d644ce7c14b9af2658fe7cbe319d60c5a221;p=packages%2Fpostgresql.git - 7.0.x database catalog is not compatibile with 7.1 catalog Changed files: postgresql.init -> 1.21 --- diff --git a/postgresql.init b/postgresql.init index 53d5b7c..6fdbba7 100644 --- a/postgresql.init +++ b/postgresql.init @@ -45,7 +45,7 @@ case "$1" in # Check for the PGDATA structure if [ -f $POSTGRES_DATA_DIR/PG_VERSION ] && [ -d $POSTGRES_DATA_DIR/base/template1 ]; then # Check version of existing PGDATA - if [ `cat $POSTGRES_DATA_DIR/PG_VERSION` != '7.0' ]; then + if [ `cat $POSTGRES_DATA_DIR/PG_VERSION` != '7.1' ]; then show "Databases created under incompatibile version. Migrate them first."; fail exit 1 fi