Jul 2026

1 commit
Fix autovacuum's database sorting.
31 Jul 2026Nathan BossartmasterunreleasedREL_19_STABLE19beta3REL_18_STABLE18.6REL_17_STABLE17.11
LLM analysis, 100% suremodified before commitlight changesfrom patchset #621 of 1 reviewer saw the final version

Preserves the pg_cmp_s32 argument swap in src/backend/postmaster/autovacuum.c from #62, but omits both proposed comment changes; the executable fix is unchanged.

  • Nathan Bossartsaw the final versioncommittercommitted the patch

Feb 2024

3 commits
Use new overflow-safe integer comparison functions.
16 Feb 2024Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #581 of 3 reviewers saw the final version

Lands the complete third member of the three-patch submission #58: all 34 files and executable changes match, with only a rebase offset in catalog/heap.c. The other two series members landed separately, and the patch and commit explicitly credit Mats Kindahl.

  • Andres Freundsaw an earlier versiontrailerAndres analyzed comparator performance and helper design in #10, #14 and #26, then checked inlining risks in #53 and #55, before additional intarray conversions and the parse_agg adjustment in #58.
  • Fabrízio de Royes Mellosaw an earlier versiontrailerFabrízio reported successful local regression and checkworld testing in #52, before #58 added intarray conversions and changed the parse_agg conversion.
  • Nathan Bossartsaw the final versioncommittercommitted the patch
Introduce overflow-safe integer comparison functions.
16 Feb 2024Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #583 of 7 reviewers saw the final version

Lands the second member of #58, containing the seven common/int.h helpers and sort_template.h caveats, with only comment wording and indentation edits. Both the submitted patch and commit credit Mats Kindahl.

  • Tom Lanesaw an earlier versiontrailerTom identified macro evaluation and type hazards in #25 and requested a size_t-specific helper in #34, before that additional helper appeared.
  • Heikki Linnakangassaw an earlier versiontrailerHeikki supported consistent comparator repairs and inspected ST_SORT safety in #8, before the work changed into typed comparison helpers.
  • Andres Freundsaw the final versiontrailerAndres shaped the arithmetic and typed-helper design in #10, #14 and #26, then accepted the helpers with added inlining warnings in #55, after which their implementations remained unchanged.
  • Thomas Munrosaw an earlier versiontrailerThomas examined an inline branch-free sign alternative in #15 and withdrew it in favor of the simpler relational-difference formulation in #17, before the typed helper patches existed.
  • Andrey Borodinsaw an earlier versiontrailerAndrey questioned comparator-call overhead and proposed inlining or value extraction in #32 and #553637, before the helper API gained pg_cmp_size.
  • Fabrízio de Royes Mellosaw the final versiontrailerFabrízio reported successful regression and checkworld testing in #52, and subsequent changes to the helper-definition patch were documentation and formatting only.
  • Nathan Bossartsaw the final versioncommittercommitted the patch
Replace calls to pg_qsort() with the qsort() macro.
16 Feb 2024Nathan Bossartmaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 98% surepart of a posted patchsetlight changesfrom patchset #581 of 1 reviewer saw the final version

Lands the first member of #58, preserving every pg_qsort-to-qsort conversion. The committer rewrote the port.h guidance and omitted the duplicate comment proposed for src/port/qsort.c.

  • Mats Kindahlsaw the final versiontrailerMats approved the staged series in #59, and the call-site cleanup subsequently received only comment edits.

Credits across 4 commits

Author
Mats Kindahl2
Nathan BossartLLM1
Хамидуллин Рустам1
Reviewer
Nathan Bossartcommitter3
Andres Freund2
Fabrízio de Royes Mello2
Andrey Borodin1
Heikki Linnakangas1
Mats Kindahl1
Thomas Munro1
Tom Lane1
Reported by
Хамидуллин Рустам1
Committer
Nathan Bossart4

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