install: Remove PostgreSQL 13 support.

PostgreSQL 13 reaches end of life on November 13, 2025, and Django 5.2
does not support it.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2025-04-07 13:38:46 -07:00
committed by Tim Abbott
parent 9feba0f16f
commit 80b607c8cb
6 changed files with 9 additions and 850 deletions

View File

@@ -64,10 +64,10 @@ if os.path.exists("/etc/init.d/postgresql") and os.path.exists("/etc/zulip/zulip
)
sys.exit(1)
if django_pg_version < 13:
if django_pg_version < 14:
logging.critical("Unsupported PostgreSQL version: %d", postgresql_version)
logging.info(
"Please upgrade to PostgreSQL 13 or newer first.\n"
"Please upgrade to PostgreSQL 14 or newer first.\n"
"See https://zulip.readthedocs.io/en/stable/production/"
"upgrade.html#upgrading-postgresql"
)

View File

@@ -241,8 +241,8 @@ if [ "$EXTERNAL_HOST" = zulip.example.com ] \
fi
case "$POSTGRESQL_VERSION" in
[0-9] | [0-9].* | 1[0-2] | 1[0-2].*)
echo "error: PostgreSQL 13 or newer is required." >&2
[0-9] | [0-9].* | 1[0-3] | 1[0-3].*)
echo "error: PostgreSQL 14 or newer is required." >&2
exit 1
;;
esac