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
m3hm3t/normalize-sed-actual-rows-decimal
Mehmet Yilmaz 2025-05-08 15:46:04 +00:00
parent 3f9e12e010
commit b06bde5771
1 changed files with 3 additions and 0 deletions

View File

@ -325,3 +325,6 @@ s/\| CHECK ([a-zA-Z])(.*)/| CHECK \(\1\2\)/g
# supported Postgres version. # supported Postgres version.
/DEBUG: drop auto-cascades to type [a-zA-Z_]*.pg_temp_[0-9]*/d /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