From b06bde5771be7b384d742a8ccdab360c5f729f28 Mon Sep 17 00:00:00 2001 From: Mehmet Yilmaz Date: Thu, 8 May 2025 15:46:04 +0000 Subject: [PATCH] PG18 - Strip decimal fractions from actual rows counts Add normalization rule to strip trailing decimals from actual row counts for pg18 compatibility Remove citus-tools subproject reference --- src/test/regress/bin/normalize.sed | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test/regress/bin/normalize.sed b/src/test/regress/bin/normalize.sed index 25bc9c15d..48396fcfd 100644 --- a/src/test/regress/bin/normalize.sed +++ b/src/test/regress/bin/normalize.sed @@ -325,3 +325,6 @@ s/\| CHECK ([a-zA-Z])(.*)/| CHECK \(\1\2\)/g # supported Postgres version. /DEBUG: drop auto-cascades to type [a-zA-Z_]*.pg_temp_[0-9]*/d + +# pg18 change: strip trailing “.00” (or “.0…”) from actual rows counts +s/(actual rows=[0-9]+)\.[0-9]+/\1/g