citus/src
Mehmet YILMAZ 662b7248db
PG18 - Normalize window output and add filter (#8344)
fixes #8156


8b1b342544


* Extend `normalize.sed` to:

* Rewrite auto-generated window names like `OVER w1` back to `OVER (?)`
on:

    * `Sort Key: …`
    * `Group Key: …`
    * `Output: …`
* Leave functional window specs like `OVER (PARTITION BY …)` untouched.

* Use `public.explain_filter(...)` around EXPLAINs in window-related
tests to:

* Avoid plan text churn from PG18 planner/EXPLAIN changes while still
checking that we use the Citus executor and expected node types.

* Update expected outputs in:

  * `mixed_relkind_tests.out`
  * `multi_explain*.out`
  * `multi_outer_join_columns*.out`
  * `multi_subquery_window_functions.out`
  * `multi_test_helpers.out`
  * `window_functions.out`
to match the filtered EXPLAIN output on PG18 while remaining compatible
with older PG versions.
2025-11-19 22:48:24 +03:00
..
backend Keep temp reloid for columnar cases (#8309) 2025-11-06 23:15:52 +03:00
include Keep temp reloid for columnar cases (#8309) 2025-11-06 23:15:52 +03:00
test PG18 - Normalize window output and add filter (#8344) 2025-11-19 22:48:24 +03:00