Refactor pgbench - pure mechanical modularization into 10 module pairs (stats, variable, poller, random, expr, script, commands, init, engine, report)

Edit
ID 7387
Title Refactor pgbench - pure mechanical modularization into 10 module pairs (stats, variable, poller, random, expr, script, commands, init, engine, report)
CI (CFBot) Summary
Stats (from CFBot) Patch version: v7, Patch count: 10, First patch: +355−304, All patches: +7780−7213
Tags Refactoring Only
Created 2026-10-03 11:07:08
Last modified 2026-11-01 17:29:00 (51 minutes ago)
Latest email 2026-11-01 17:27:35 (53 minutes ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version 20
Authors Hannu Krosing (hannukrosing)
Reviewers Become reviewer
Committer
Links Wiki Git
Emails
[PATCH] Refactor pgbench to make future improvements easier
First at 2026-10-03 11:02:47 by Hannu Krosing <hannuk at google.com>
Latest at 2026-11-01 17:27:35 by Hannu Krosing <hannuk at google.com>
Latest attachment (v7-0001-Refactor-pgbench-extract-statistics-structures-an.patch) at 2026-11-01 17:27:35 from Hannu Krosing <hannuk at google.com>
    Attachment (v7-0001-Refactor-pgbench-extract-statistics-structures-an.patch) at 2026-11-01 17:27:35 from Hannu Krosing <hannuk at google.com> (Patch: No)
    Attachment (v6-0001-Refactor-pgbench-extract-statistics-structures-an.patch) at 2026-10-21 17:43:24 from Hannu Krosing <hannuk at google.com> (Patch: No)
    Attachment (v5-0001-Refactor-pgbench-extract-statistics-structures-an.patch) at 2026-10-18 15:16:39 from Hannu Krosing <hannuk at google.com> (Patch: No)
    Attachment (v4-0003-Refactor-pgbench-extract-socket-polling-abstracti.patch) at 2026-10-11 14:08:56 from Hannu Krosing <hannuk at google.com> (Patch: No)
    Attachment (v2-0001-Refactor-pgbench-extract-statistics-and-latency-t.patch) at 2026-10-03 11:02:47 from Hannu Krosing <hannuk at google.com> (Patch: No)
History
When Who What
2026-11-01 17:33:45 CFbot Patch does not need rebase anymore
2026-11-01 17:29:00 Hannu Krosing (hannukrosing) Changed tags to Refactoring Only
2026-11-01 17:29:00 Hannu Krosing (hannukrosing) Changed name to Refactor pgbench - pure mechanical modularization into 10 module pairs (stats, variable, poller, random, expr, script, commands, init, engine, report)
2026-10-25 19:44:43 CFbot Patch needs rebase
2026-10-17 12:21:40 Hannu Krosing (hannukrosing) Changed name to Refactor pgbench (patches 1-7 extract modules without altering behavior, 8-12 decouple dependencies) to make the rest easier, 13-14 contrib/pgbench extension, 15 - ... advanced features for supporting complex loads (see Wiki link)
2026-10-17 12:17:34 Hannu Krosing (hannukrosing) Changed tags to Devtools, Extensions, Help - User Testing, Modernization, Refactoring Only, Testing
2026-10-17 12:17:34 Hannu Krosing (hannukrosing) Changed name to Refactor pgbench to make future improvements easier 1-12), contrib/pgbench extension, advanced features for supporting complex loads (see Wiki link)
2026-10-17 12:15:06 Hannu Krosing (hannukrosing) Changed gitlink to https://github.com/postsql/postgres/actions/runs/39029720335
2026-10-17 12:15:06 Hannu Krosing (hannukrosing) Changed wikilink to https://wiki.postgresql.org/wiki/Pgbench-modernization-2026
2026-10-17 12:15:06 Hannu Krosing (hannukrosing) Changed name to Refactor pgbench to make future improvements easier 1-12), contrib/pgbench extension, advanced features for supporting complex loads
2026-10-11 14:15:30 Hannu Krosing (hannukrosing) Changed name to Refactor pgbench to make future improvements easier, especially CF patch/7225 on top of this (patches 1-8 are pure splitting code to modules, 9-12 prepare code itself for easy extensibility)
2026-10-03 11:07:08 Hannu Krosing (hannukrosing) Attached mail thread CAMT0RQT1BMSKqgO31QJw4razSDruW_HX6G-R_Xr7yXsfMM_H2g@mail.gmail.com
2026-10-03 11:07:08 Hannu Krosing (hannukrosing) Created patch record
Edit