Aug 2022

2 commits
Add proper regression test for the recent SRFs-in-pathkeys problem.
4 Aug 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3REL_14_STABLE14.5REL_13_STABLE13.8
LLM analysis, 100% suremodified before commitlight changesfrom patchset #141 of 1 reviewer saw the final version

The commit adapts Richard Guo's regression test #14, simplifying the expression to unnest(...) + 1, removing generate_subscripts() and the index-only-scan override, and relocating the test within select_parallel.sql. It also removes the ineffective incremental_sort test; Tom Lane confirms the simplification and commit in #16.

  • Tom Lanesaw the final versioncommittercommitted the patch
Fix incorrect tests for SRFs in relation_can_be_sorted_early().
3 Aug 2022Tom Lanemaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3REL_14_STABLE14.5REL_13_STABLE13.8
LLM analysis, 99% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

Both replacements of IS_SRF_CALL() with expression_returns_set() in src/backend/optimizer/path/equivclass.c match Richard Guo's inline patch #5. Tom Lane additionally moves the macro from optimizer.h into tlist.c and adds explanatory comments, as proposed in #6, then announces the commit without a regression test #10.

  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Richard GuoLLM2
Reviewer
Tom Lanecommitter2
Committer
Tom Lane2

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