May 2026

1 commit
pg_test_timing: Show additional TSC clock source debug info
16 May 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surelanded as postedfrom patchset #1712 of 3 reviewers saw the final version

All substantive changed lines match #171, including TSC diagnostics, discrepancy handling and the zero-loop guard; #172 confirms the push.

  • Andres Freundsaw the final versiontrailerReviewed allocation lifetime and diagnostic behavior in #159, supplied the fixup in #162 and committed the final version in #172.
  • Haibo Yansaw an earlier versiontrailerIdentified potentially unsupported RDTSCP execution in #165, followed by calibration-guard and exit-status logic changes in #166.
  • Tom Lanesaw the final versiontrailerReported the Coverity issue in #167 and approved the exact inline zero-loop guard in #170, covering that fix only.

Mar - Apr 2026

8 commits
instrumentation: Avoid CPUID 0x15/0x16 for Hypervisor TSC frequency
9 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1601 of 1 reviewer saw the final version

Takes the hypervisor-frequency fix alone from #160; src/port/pg_cpu_x86.c differs only in explanatory comment wording, leaving diagnostics for later.

  • Andres Freundsaw the final versiontrailerDiagnosed the bogus frequency in #157 and reviewed and committed the fix as announced in #162.
pg_test_timing: Also test RDTSC[P] timing, report time source, TSC frequency
7 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1482 of 4 reviewers saw the final version

Takes the pg_test_timing member of #148, with documentation rewording agreed in #152, capitalization fixes and a const-qualified local pointer.

  • Andres Freundsaw the final versiontrailerReviewed utility structure and final documentation, then announced the commit in #153.
  • David Geiersaw an earlier versiontrailerReviewed the earlier utility work in #54 and tested the Windows implementation in #98, before later calibration and reporting changes.
  • Zsolt Parragisaw the final versiontrailerReviewed pg_test_timing output in #142, after which this component received only documentation, type and typo adjustments.
  • Álvaro Herrerasaw an earlier versiontrailerProposed automatically testing both timing modes in #68, which was adopted before substantial later utility revisions.
instrumentation: Standardize ticks to nanosecond conversion method
7 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1483 of 4 reviewers saw the final version

Takes the conversion-infrastructure member of #148, preserving its implementation and regression test while adjusting initialization comments and INSTR_TIME_ADD_NANOSEC documentation.

  • Andres Freundsaw the final versiontrailerReviewed conversion overhead, overflow handling and initialization, then committed the final version in #151.
  • David Geiersaw an earlier versiontrailerDiscussed conversion overhead in #87 and benchmarked Windows in #98, before reverse conversion and initialization changes.
  • Lukas Fittlsaw the final versiontrailerEvaluated the Windows changes in #102 and carried the reviewed conversion implementation through the final submissions #145 and #148.
  • Zsolt Parragisaw the final versiontrailerFound mixed-unit arithmetic in #116 and checked final signedness and generated assembly in #149.
Allow retrieving x86 TSC frequency/flags from CPUID
7 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1481 of 4 reviewers saw the final version

Takes the CPUID frequency/flags member of #148; the only substantive textual addition explains the hypervisor-to-generic fallback in src/port/pg_cpu_x86.c.

  • Andres Freundsaw the final versiontrailerReviewed CPUID handling and register clearing, added the final fallback comment and committed the patch in #151.
  • David Geiersaw an earlier versiontrailerReviewed hypervisor coverage and portability in #67 and #87 and tested Windows in #98, before CPUID extraction and fallback changes.
  • John Naylorsaw an earlier versiontrailerReviewed feature organization in #135 and verified OSXSAVE behavior in #138, before register-reset and hypervisor-fallback logic changed.
  • Jakub Wartaksaw an earlier versiontrailerExamined hypervisor CPUID detection in #84 and reported missing frequency information under VirtualBox in #104.
instrumentation: Use Time-Stamp Counter on x86-64 to lower overhead
7 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1482 of 8 reviewers saw the final version

Takes the core TSC member of #148; differences are SGML layout, comments, spelling and helper ordering, matching the committer's edit list in #151.

  • Andres Freundsaw the final versiontrailerReviewed timing semantics, portability, calibration and final implementation throughout the thread and committed the patch in #151.
  • David Geiersaw an earlier versiontrailerReviewed platform safety and configuration in #67 and #87 and supplied Windows testing in #98, before calibration and initialization were reworked.
  • Lukas Fittlsaw the final versiontrailerIntegrated and evaluated the Windows work in #102 and revised the final privilege, platform and documentation behavior in #145 and #148.
  • Zsolt Parragisaw an earlier versiontrailerFound calibration and source-switch problems in #116 and reviewed #141, before the subsequent GUC privilege and platform-guard changes.
  • Thomas Munrosaw an earlier versiontrailerExamined nonserializing timing, invariant counters, synchronization and VM migration concerns in #3.
  • Maciek Sakrejdasaw an earlier versiontrailerReported performance gains and a timing discrepancy in #6, then withdrew the discrepancy after retesting in #13.
  • Robert Haassaw an earlier versiontrailerSupported a configurable escape hatch in #74 and proposed automatic versus explicit clock selection in #77, before the implementation was substantially revised.
  • Jakub Wartaksaw an earlier versiontrailerReviewed VM detection and source reporting in #84 and tested FreeBSD/VirtualBox in #104, before calibration addressed unavailable frequency information.
Check for __cpuidex and __get_cpuid_count separately
2 Apr 2026John Naylormaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1312 of 2 reviewers saw the final version

Takes the independent CPUID build-check member of #131; the remaining difference is preprocessor/include style in pg_cpu_x86.c, confirmed in #132.

  • Andres Freundsaw the final versiontrailerReviewed signedness and header selection in #99 and requested landing the prerequisite in #129, followed only by build-check cleanup.
  • John Naylorsaw the final versiontrailerReviewed the configure and Meson checks in #130 and committed the final version with the small include adjustment described in #132.
pg_test_timing: Reduce per-loop overhead
2 Apr 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1281 of 1 reviewer saw the final version

Takes the pg_test_timing loop-overhead member of #128, simplifying its redundant positive-duration conditional as explained in #129.

  • Andres Freundsaw the final versiontrailerRequested interval-domain arithmetic and separation of the optimization, then committed it with the small simplification described in #129.
Refactor handling of x86 CPUID instructions
25 Mar 2026John Naylormaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1241 of 2 reviewers saw the final version

Takes the CPUID refactor from #124, renaming r to reg and moving two comments from its later TSC patch, as confirmed in #127.

  • Andres Freundsaw an earlier versionLLM analysis, 96% sureRequested wrappers around repeated platform-specific CPUID calls in #99, which were subsequently implemented through the extracted refactor.
  • John Naylorsaw the final versioncommittercommitted the patch

Feb 2026

1 commit
instrumentation: Drop INSTR_TIME_SET_CURRENT_LAZY macro
26 Feb 2026Andres Freundmaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #1021 of 1 reviewer saw the final version

Exactly matches the LAZY-removal member of #102 modulo base hashes and hunk positions, changing instrument.c and instr_time.h while leaving the remaining series pending.

  • Andres Freundsaw the final versiontrailerRequested the separate removal in #99 and announced committing it in #105.

Jan 2023

2 commits
instr_time: Represent time as an int64 on all platforms
21 Jan 2023Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #351 of 1 reviewer saw the final version

Takes the int64-representation member of #35; the only implementation adjustment reassociates the Windows nanosecond conversion to multiply ticks by the frequency ratio.

  • Tom Lanesaw the final versiontrailerRequested an opaque struct around the integer in #27 and reviewed the resulting version in #36, followed only by a small arithmetic simplification.
Zero initialize uses of instr_time about to trigger compiler warnings
21 Jan 2023Andres Freundmaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #351 of 1 reviewer saw the final version

Exactly matches the zero-initialization member of #35, adding INSTR_TIME_SET_ZERO calls in xlog.c, bufmgr.c, buffile.c, latch.c and psql/common.c.

  • Tom Lanesaw the final versiontrailerReviewed the prerequisites in #27 and the revised series in #36, preserving the existing initialization API.

Credits across 12 commits

Author
Lukas Fittl11
Andres Freund1 LLM5
David Geier5
Reviewer
Andres Freund9
David Geier4
John Naylorcommitter3
Tom Lane3
Zsolt Parragi3
Jakub Wartak2
Lukas Fittl2
Alvaro Herrera1
Haibo Yan1
Maciek Sakrejda1
Robert Haas1
Thomas Munro1
Committer
Andres Freund10
John Naylor2

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