reindex-textual-data: Remove PostgreSQL ≥ 11 check.

We removed PostgreSQL 10 support long ago in 6.0-beta1~88.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-11-01 12:56:14 -07:00 committed by Tim Abbott
parent 0f30c93a2f
commit 8dd0d7f48d
1 changed files with 0 additions and 6 deletions

View File

@ -48,12 +48,6 @@ pg_args["connect_timeout"] = "600"
conn = psycopg2.connect(connection_factory=None, **pg_args) conn = psycopg2.connect(connection_factory=None, **pg_args)
conn.autocommit = True conn.autocommit = True
pg_server_version = conn.server_version
can_concurrently = pg_server_version >= 110000 # Version 11.0.0
if options.concurrently and not can_concurrently:
raise RuntimeError("Only PostgreSQL 11 and above can REINDEX CONCURRENTLY.")
cursor = conn.cursor() cursor = conn.cursor()
cursor.execute( cursor.execute(
""" """