model-writtenrun 9751 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported missing NetBSD and OpenBSD TAP coverage and a pgbench test that assumed particular getopt_long error wording in #1, while Fabien COELHO argued for retaining error-case and exit-status coverage in #2.
- Mikael Kjellström enabled TAP tests on both buildfarm animals in #3, installed the missing IPC::Run dependency in #8, and resolved semaphore limits before confirming pgbench failures on both platforms in #13 and #14.
- Tom Lane proposed retaining the exit-status and PostgreSQL-controlled help-message checks while dropping the platform-dependent wording check in #18, implementing that compromise in 251f57460f.
- Further OpenBSD failures revealed nondeterministic random() behavior despite explicit seeding and a Zipfian test prone to masking that failure in #20; after Fabien suggested an OpenBSD-specific workaround in #22, Tom advocated using PostgreSQL's own generator for platform-independent results in #23.
- Fabien supplied a configurable PRNG abstraction with several algorithms in #25, but Tom rejected its scope as excessive for the portability bug and reiterated concerns about the Zipfian test in #26.
- Fabien supplied Zipfian documentation and distribution measurements in #28; Tom emphasized that the test needed to expose nondeterminism in #29, and their subsequent analysis and testing led to the less skewed parameter 1.5 in #30 and #32, incorporated with the documentation in #34.
- Tom supplied a smaller, backpatchable pgbench-only solution in #31; Fabien revised it to use pg_jrand48 directly, added exact seeded test expectations, and reported successful sanity tests in #35, leaving the broader PRNG replacement for future consideration.
- Tom combined #35 and #34 with minor cleanup in e6c3ba7fbf, fixing deterministic seeding, strengthening the Zipfian test, and improving its documentation, with a backport to PostgreSQL 11.
- At the thread's end, the immediate fixes had landed, but Tom questioned differing seeded outputs between PostgreSQL 11 and development HEAD in #36; Alvaro Herrera explained in #37 that separate internal random states protected user-visible determinism, leaving cross-version stability unsettled.