May 2022

2 commits
Use correct datum macros in more tuplesort specialization functions.
12 May 2022John Naylormaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surelanded as postedfrom patchset #91 of 1 reviewer saw the final version

The diff exactly matches #9 after ignoring abbreviated blob hashes: src/include/utils/sortsupport.h gains a 64-bit compilation guard and uses DatumGetInt64/DatumGetInt32 in the inline comparators.

  • David Rowleysaw the final versiontrailerDavid endorsed the Datum conversion macros in #10 and reported successful compilation and tests with -m32 plus a favorable code review in #12.
Fix some incorrect preprocessor tests in tuplesort specializations
10 May 2022David Rowleymaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #61 of 1 reviewer saw the final version

The commit preserves all changes from #6 and adds two SIZEOF_DATUM guards around qsort_tuple_signed_compare and the qsort_tuple_signed template instantiation in src/backend/utils/sort/tuplesort.c. David explains in #8 that these additions suppress an unused-function warning on 32-bit builds.

  • John Naylorsaw the final versiontrailerJohn endorsed the Datum-size checks and proposed cleanup in #7, after which only guards excluding unused 32-bit code were added before commit.

Credits across 2 commits

Author
David RowleyLLM1
John NaylorLLM1
Reviewer
David Rowley1
John Naylor1
Committer
David Rowley1
John Naylor1

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