Jul 2022

2 commits
Use list_copy_head() instead of list_truncate(list_copy(...), ...)
13 Jul 2022David Rowleymaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surewritten from the discussion, no matching patch1 of 1 reviewer saw the final version

This commit replaces copy-and-truncate operations across seven backend files, changes absent from #1, following Tom Lane's suggestion in #2. David Rowley confirmed the separate master-only cleanup in #5.

  • Tom Lanesaw the final versionLLM analysis, 99% sureTom proposed extending list_copy_head() usage to other copy-and-truncate sites in #2 and accepted the master-only scope in #4 before the commit.
Tidy up code in get_cheapest_group_keys_order()
13 Jul 2022David Rowleymaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1REL_15_STABLE15beta3
LLM analysis, 100% surelanded as postedfrom patchset #11 of 1 reviewer saw the final version

The complete diff matches #1 after ignoring whitespace and index hashes, including changes to src/backend/nodes/list.c, src/backend/optimizer/path/pathkeys.c, and src/include/nodes/pg_list.h.

  • Tom Lanesaw the final versionLLM analysis, 99% sureTom agreed with the cleanup and supported keeping PostgreSQL 15 and 16 synchronized in #2, with only whitespace differences between the reviewed patch and the commit.

Credits across 2 commits

Author
David Rowley2
Committer
David Rowley2