Sep 2020

2 commits
Optimize compactify_tuples function
16 Sep 2020David Rowleymaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #170 of 1 reviewer saw the final version

Matches the complete compactify_tuples patch in #17, with only comment and commit-message edits in the committed version; David explicitly confirms his comment sweep in #19.

  • Thomas Munrosaw an earlier versiontrailerThomas proposed copy batching and ordering changes, benchmarked the implementation, and reported the assertion failure in #16, after which #17 added zero-tuple handling and presorted detection for index-page compaction.
Report resource usage at the end of recovery
15 Sep 2020David Rowleymaster14beta1REL_19_STABLE14beta1REL_18_STABLE14beta1REL_17_STABLE14beta1REL_16_STABLE14beta1REL_15_STABLE14beta1REL_14_STABLE14beta1
LLM analysis, 100% surelanded as postedfrom patchset #171 of 1 reviewer saw the final version

The xlog.c patch in #17 matches all three committed hunks, adding pg_rusage initialization and resource usage to the redo completion log; differences are only base blob identifiers.

  • Thomas Munrosaw the final versiontrailerThomas acknowledged the reporting proposal with his response in #15, and the reporting patch from #13 remained unchanged through #17 and commit.

Credits across 2 commits

Author
David Rowley2
Reviewer
Thomas Munro2
Tested by
Jakub Wartak1
Committer
David Rowley2