Dec 2023

1 commit
pgbench: Fix overflow in table populating when rows >= 2^31-1
24 Dec 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surelanded as postedfrom patchset #43 of 3 reviewers saw the final version

The commit matches the single int-to-int64 change to k in src/bin/pgbench/pgbench.c from #4, differing only in whitespace. Although Japin Li sent that revision, its patch header and the commit credit John Hsu, the original author #1 64e77b496a.

  • Tatsuo Ishiisaw the final versiontrailerTatsuo confirmed that n should remain int because it holds pg_snprintf's return value, endorsing the precise simplification incorporated into the committed revision #3 #4.
  • Japin Lisaw the final versiontrailerJapin identified that only k needed widening and supplied the revised patch that was committed #2 #4.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
John Hsu1
Reviewer
Japin Li1
Michael Paquiercommitter1
Tatsuo Ishii1
Committer
Michael Paquier1