From 8dd0d7f48d8c64289dbb307a0c2f47b55c2d3560 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 1 Nov 2024 12:56:14 -0700 Subject: [PATCH] =?UTF-8?q?reindex-textual-data:=20Remove=20PostgreSQL=20?= =?UTF-8?q?=E2=89=A5=2011=20check.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We removed PostgreSQL 10 support long ago in 6.0-beta1~88. Signed-off-by: Anders Kaseorg --- scripts/setup/reindex-textual-data | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/setup/reindex-textual-data b/scripts/setup/reindex-textual-data index 3557672268..954a9955ff 100755 --- a/scripts/setup/reindex-textual-data +++ b/scripts/setup/reindex-textual-data @@ -48,12 +48,6 @@ pg_args["connect_timeout"] = "600" conn = psycopg2.connect(connection_factory=None, **pg_args) 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.execute( """