mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
install: Remove PostgreSQL 12 support.
PostgreSQL 12 reaches end of life on November 14, 2024. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
8dd0d7f48d
commit
2bb87aebec
@@ -62,10 +62,10 @@ if os.path.exists("/etc/init.d/postgresql") and os.path.exists("/etc/zulip/zulip
|
||||
)
|
||||
sys.exit(1)
|
||||
|
||||
if django_pg_version < 12:
|
||||
if django_pg_version < 13:
|
||||
logging.critical("Unsupported PostgreSQL version: %d", postgresql_version)
|
||||
logging.info(
|
||||
"Please upgrade to PostgreSQL 12 or newer first.\n"
|
||||
"Please upgrade to PostgreSQL 13 or newer first.\n"
|
||||
"See https://zulip.readthedocs.io/en/stable/production/"
|
||||
"upgrade.html#upgrading-postgresql"
|
||||
)
|
||||
|
||||
@@ -199,8 +199,8 @@ if [ "$EXTERNAL_HOST" = zulip.example.com ] \
|
||||
fi
|
||||
|
||||
case "$POSTGRESQL_VERSION" in
|
||||
[0-9] | [0-9].* | 1[01] | 1[01].*)
|
||||
echo "error: PostgreSQL 12 or newer is required." >&2
|
||||
[0-9] | [0-9].* | 1[0-2] | 1[0-2].*)
|
||||
echo "error: PostgreSQL 13 or newer is required." >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user