mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 19:13:53 +00:00
install: Remove PostgreSQL 11 support.
Django 4.2 removes this support, so Zulip has not installed with
PostgreSQL 11 since 2c20028aa4.
This commit is contained in:
committed by
Tim Abbott
parent
fd233bd33d
commit
e5ae55637e
@@ -176,8 +176,8 @@ if [ "$EXTERNAL_HOST" = zulip.example.com ] \
|
||||
fi
|
||||
|
||||
case "$POSTGRESQL_VERSION" in
|
||||
[0-9] | [0-9].* | 10 | 10.*)
|
||||
echo "error: PostgreSQL 11 or newer is required." >&2
|
||||
[0-9] | [0-9].* | 1[01] | 1[01].*)
|
||||
echo "error: PostgreSQL 12 or newer is required." >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -229,10 +229,10 @@ if os.path.exists("/etc/init.d/postgresql"):
|
||||
]
|
||||
)
|
||||
|
||||
if tuple(map(int, postgresql_version.split("."))) < (11,):
|
||||
if tuple(map(int, postgresql_version.split("."))) < (12,):
|
||||
logging.critical("Unsupported PostgreSQL version: %s", postgresql_version)
|
||||
logging.info(
|
||||
"Please upgrade to PostgreSQL 11 or newer first.\n"
|
||||
"Please upgrade to PostgreSQL 12 or newer first.\n"
|
||||
"See https://zulip.readthedocs.io/en/latest/production/"
|
||||
"upgrade-or-modify.html#upgrading-postgresql"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user