diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/explain.out /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/explain.out --- /tmp/cirrus-ci-build/src/test/regress/expected/explain.out 2025-12-27 15:11:14.246699000 +0000 +++ /tmp/cirrus-ci-build/build/testrun/pg_upgrade/002_pg_upgrade/data/results/explain.out 2025-12-27 15:16:47.793093000 +0000 @@ -844,10 +844,9 @@ Seq Scan on batch_test (actual time=N.N..N.N rows=N.N loops=N) Filter: (a > N) Rows Removed by Filter: N - Batches: N Avg Rows: N.N Max: N Min: N Planning Time: N.N ms Execution Time: N.N ms -(6 rows) +(5 rows) -- With LIMIT - partial scan shows fewer batches select explain_filter('explain (analyze, batches, buffers off, costs off) select * from batch_test limit 100'); @@ -855,10 +854,9 @@ ---------------------------------------------------------------------- Limit (actual time=N.N..N.N rows=N.N loops=N) -> Seq Scan on batch_test (actual time=N.N..N.N rows=N.N loops=N) - Batches: N Avg Rows: N.N Max: N Min: N Planning Time: N.N ms Execution Time: N.N ms -(5 rows) +(4 rows) -- Batching disabled - no batch line set executor_batch_rows = 0; @@ -875,7 +873,7 @@ select explain_filter_to_json('explain (analyze, batches, buffers off, format json) select * from batch_test where a < 1000') #> '{0,Plan,Batches}'; ?column? ---------- - 0 + (1 row) drop table batch_test;