Mar 2024

1 commit
Fix deparsing of Consts in postgres_fdw ORDER BY
10 Mar 2024David Rowleymaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12REL_13_STABLE13.15+1 moreAlso in: BUG #18381: Invalid query generated by postgres_fdw with UNION ALL and ORDER BY (not this thread)
LLM analysis, 100% suremodified before commitlight changesfrom patchset #42 of 2 reviewers saw the final version

c399248b3b preserves the executable deparse.c changes from #4, expanding only the explanatory comment. It adds subquery aliases to the regression queries and relocates them alongside two existing tests into a dedicated ORDER BY section in contrib/postgres_fdw/sql/postgres_fdw.sql and its expected output.

  • Ashutosh Bapatsaw the final versiontrailerIn #3, he questioned consistency with deparseConst() and requested tests for #2; subsequent changes retained the same fix with equivalent delimiter cleanup, comments, and regression tests.
  • Richard Guosaw the final versiontrailerIn #5, he reviewed #4, examined equivalence-class redundancy and possible pseudoconstants, and said the patch otherwise looked good.

Credits across 1 commit

Author
David RowleyLLM1
Reviewer
Ashutosh Bapat1
Richard Guo1
Reported by
Michał Kłeczek1
Committer
David Rowley1

N LLM means N of the credits come from LLM analysis, not from commit trailers.