model-writtenrun 2506 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Apr - May 2024 · 4 entries
- Adam Guo reported that pg_trgm GiST scans returned different results on x86 and ARM replicas because plain char comparisons sorted trigrams differently, and proposed explicitly unsigned comparisons in #1.
- Masahiko Sawada attached the small unsigned-comparison fix in #3, but Tom Lane explained that changing the ordering would break existing indexes, even across a major-version upgrade, in #4 and #6.
- Alexander Korotkov proposed recording signedness in pg_control in #7 and #9; Tom Lane favored rejecting incompatible architectures, while Peter Eisentraut and Noah Misch emphasized preserving useful cross-architecture migration paths in #13, #14, and #17.
- Noah Misch proposed separate signed and unsigned operator classes to avoid mandatory index rebuilding in #17, and the ensuing discussion explored extension updates during pg_upgrade in #21.
Aug - Oct 2024 · 6 entries
- Tom Lane proposed per-index signedness metadata instead in #22, but schema-restore timing and shared files under pg_upgrade --link complicated initialization of that metadata, as he explained in #29.
- Masahiko Sawada suggested using the control file as a signedness hint in #30; after confirming replicas inherit it, Tom Lane proposed dispensing with index metadata entirely in #33.
- Masahiko Sawada implemented that simpler design in #35, selecting signed or unsigned trigram comparisons from the cluster's stored signedness, and Noah Misch confirmed the proof of concept in #36.
- The implementation became a two-patch series in #39, but regression testing remained unresolved because changing the on-disk control file alone did not update shared memory and was undone at shutdown.
- Noah Misch proposed preserving signedness through pg_upgrade, permitting an override for older source clusters, and making all newly initialized clusters use signed ordering in #40; Masahiko Sawada implemented this five-patch design in #45.
- A broader proposal to force compiler char signedness was abandoned after Noah Misch raised compiler and library compatibility concerns in #42 and Tom Lane opposed restricting supported signedness configurations in #43, with Masahiko Sawada agreeing in #44.
Nov 2024 · 1 entry
- Noah Misch's review in #46 caught a parser that confused unsigned with signed and requested better version checks and documentation; after a gap, Masahiko Sawada returned with those fixes, upgrade tests, and removal of unrelated debugging code in #47.
Jan - Mar 2025 · 9 entries
- Further review in #48 restricted the override to pre-18 sources and clarified migration safety, producing #49; documentation corrections followed in #51, which Noah Misch approved along with the required control-version bump in #52.
- The control-file portion of #51 landed as 44fe30fdab with catalog and control-version bumps, and its pg_resetwal portion landed unchanged as 30666d1857.
- The upgrade-preservation portion of #51 landed as a8238f87f9 with finalized catalog constants, and the explicit override landed as 1aab680591 with a rebase adjustment and comment cleanup.
- The pg_trgm comparison portion of #51 landed unchanged as dfd8e6c73e, completing the five-patch series announced as pushed in #54; the fix was not backpatched because it depended on the new control-file field.
- A same-day follow-up, 78d3f48895, registered the new signedness test in meson.build, correcting an omission without an attached patch.
- Dagfinn Ilmari Mannsåker found that the override rejection test passed for the wrong reason because its option lacked a dash, and supplied both a spelling fix and explicit stdout error checks in #55.
- At Masahiko Sawada's request in #56, Dagfinn Ilmari Mannsåker separated the bug fix from the testing improvement in #57, and the standalone spelling fix landed as 945a9e3832.
- Masahiko Sawada reposted the remaining error-checking patch with simplified regexes and revised commit text in #58, retaining Dagfinn Ilmari Mannsåker's authorship, and it landed unchanged as f52345995d.
- All submitted changes had landed by the final exchange, where Peter Eisentraut questioned the extra word data in the command-line signedness labels in #59 and Masahiko Sawada acknowledged the naming inconsistency in #60; no resolution appears in the supplied thread.