citusdata / citus

Distributed PostgreSQL as an extension
https://www.citusdata.com
GNU Affero General Public License v3.0
10.65k stars 670 forks source link

PG17 compatibility: add helper function for EXPLAIN diffs in scalar subquery output #7757

Closed colm-mchugh closed 4 days ago

colm-mchugh commented 4 days ago

PG17 changed how scalar subquery outputs appear in EXPLAIN output (*). This commit changes impacted regress goldfiles to the PG17 format, and adds a helper function to covert pre-PG17 plans to the PG17 format. The conversion is required when testing Citus on pgversions prior to 17. The helper function can and should be removed when 17 becomes the minimum supported version.

(*) https://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=fd0398fcb

codecov[bot] commented 4 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Please upload report for BASE (release-13.0@680c23f). Learn more about missing BASE report.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## release-13.0 #7757 +/- ## =============================================== Coverage ? 89.64% =============================================== Files ? 274 Lines ? 59583 Branches ? 7436 =============================================== Hits ? 53413 Misses ? 4038 Partials ? 2132 ```

🚨 Try these New Features: