From 063be4644487ef611db388e92dddc15d51d58595 Mon Sep 17 00:00:00 2001 From: Colm Date: Wed, 4 Dec 2024 15:29:39 +0000 Subject: [PATCH] =?UTF-8?q?PG17=20compatibility:=20Fix=20check-style,=20br?= =?UTF-8?q?oken=20by=20PG17=20columnar=20test=20fix=E2=80=A6=20(#7776)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … (698699d89efafe3) --------- Co-authored-by: naisila --- src/test/regress/sql/columnar_paths.sql | 2 +- src/test/regress/sql/multi_test_helpers.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/regress/sql/columnar_paths.sql b/src/test/regress/sql/columnar_paths.sql index d56443a03..748b9006a 100644 --- a/src/test/regress/sql/columnar_paths.sql +++ b/src/test/regress/sql/columnar_paths.sql @@ -3,7 +3,7 @@ SET search_path TO columnar_paths; -- columnar_paths has an alternative test output file because PG17 improved -- the optimizer's ability to use statistics to estimate the size of a CTE --- scan. +-- scan. -- The relevant PG commit is: -- https://github.com/postgres/postgres/commit/f7816aec23eed1dc1da5f9a53cb6507d30b7f0a2 diff --git a/src/test/regress/sql/multi_test_helpers.sql b/src/test/regress/sql/multi_test_helpers.sql index d0a393a8e..1cdcf4b39 100644 --- a/src/test/regress/sql/multi_test_helpers.sql +++ b/src/test/regress/sql/multi_test_helpers.sql @@ -612,9 +612,9 @@ BEGIN END LOOP; END; $$ language plpgsql; --- This function formats EXPLAIN output to conform to how pg <= 16 EXPLAIN +-- This function formats EXPLAIN output to conform to how pg <= 16 EXPLAIN -- shows ANY in an expression the pg version >= 17. When 17 is --- the minimum supported pgversion this function can be retired. The commit +-- the minimum supported pgversion this function can be retired. The commit -- that changed how ANY exrpressions appear in EXPLAIN is: -- https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=fd0398fcb CREATE OR REPLACE FUNCTION explain_with_pg16_subplan_format(explain_command text, out query_plan text)