summaryrefslogtreecommitdiff
path: root/extra/postgresql/postgresql-check-db-dir
diff options
context:
space:
mode:
Diffstat (limited to 'extra/postgresql/postgresql-check-db-dir')
-rwxr-xr-xextra/postgresql/postgresql-check-db-dir6
1 files changed, 3 insertions, 3 deletions
diff --git a/extra/postgresql/postgresql-check-db-dir b/extra/postgresql/postgresql-check-db-dir
index 542c82209..e563d114c 100755
--- a/extra/postgresql/postgresql-check-db-dir
+++ b/extra/postgresql/postgresql-check-db-dir
@@ -16,9 +16,9 @@ then
fi
# PGMAJORVERSION is major version
-PGMAJORVERSION=9.2
+PGMAJORVERSION=9.3
# PREVMAJORVERSION is the previous major version, e.g., 8.4, for upgrades
-PREVMAJORVERSION=9.1
+PREVMAJORVERSION=9.2
# Check for the PGDATA structure
if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base" ]
@@ -35,7 +35,7 @@ then
else
echo $"An old version of the database format was found."
echo $"You need to dump and reload before using PostgreSQL $PGMAJORVERSION."
- echo $"See http://www.postgresql.org/docs/9.2/static/upgrading.html"
+ echo $"See http://www.postgresql.org/docs/$PGMAJORVERSION/static/upgrading.html"
exit 1
fi
else