summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg White2018-10-18 10:33:58 -0400
committerGreg White2018-10-18 10:33:58 -0400
commit5081a91f0d8ba4e084f2c9fb59ed65729dadc9cf (patch)
treec1b3ce243b8ad91e0e8115ffd37c1cc2f5736fd0
parent453544d1973f41636b865ba17ef59fa0f37a5723 (diff)
downloadaur-5081a91f0d8ba4e084f2c9fb59ed65729dadc9cf.tar.gz
Fix db version check
-rwxr-xr-xpostgresql-check-db-dir4
1 files changed, 2 insertions, 2 deletions
diff --git a/postgresql-check-db-dir b/postgresql-check-db-dir
index 2232eef7c5f..8bdbcd88ae4 100755
--- a/postgresql-check-db-dir
+++ b/postgresql-check-db-dir
@@ -16,9 +16,9 @@ then
fi
# PGMAJORVERSION is major version
-PGMAJORVERSION=10
+PGMAJORVERSION=11
# PREVMAJORVERSION is the previous major version, e.g., 8.4, for upgrades
-PREVMAJORVERSION=9.6
+PREVMAJORVERSION=10
# Check for the PGDATA structure
if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base" ]