model-writtenrun 6865 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
May 2026 · 1 entry
- Michael Paquier opened the second-round effort with an eleven-patch implementation using direct type and vartag checks instead of the previous callback design, an opt-in toast_value_type reloption, and one cluster-wide eight-byte counter; rewrites and binary upgrades would preserve each TOAST table's existing type #1.
Jul - Sep 2026 · 25 entries
- Yugo Nagata verified values beyond the four-byte limit, found misleading option errors and documentation, and measured no update-performance regression; Michael incorporated those corrections in the next submission #2 #3 #9.
- The storage-cost discussion established that the additional chunk sequence column makes an oid8 TOAST index approximately 40% larger, correcting an initial comparison that omitted that column #6 #7 #8.
- Hannu Krosing proposed mixed representations and direct-TID TOAST storage, but Michael retained one representation per TOAST table and the shared counter to keep this feature bounded and maintainable #12 #13 #14 #15.
- Bharath Rupireddy reproduced severe allocation delays near OID exhaustion, demonstrated the benefit of avoiding retries, and approved the independent preparatory patches; the chunk-size refactoring from the revised series landed unchanged as a selected component #16 #18 2b3d11aaed.
- Michael moved the pointer rename into thread #253665 for wider review, where the newer patchset #1152997 supplied the exact committed version c5806f2165; this thread reported that transfer and landing, while Michael dropped oid8 catcache support because no remaining code needed it #18 #20.
- Bharath identified a truncating logical-decoding read, and Michael's remaining series also corrected compression identification, comparisons between differently sized external pointers, and biggest-attribute selection using cached TOAST type information #19 #20.
- Further self-review completed eight-byte handling through pg_upgrade and the control-data interfaces; while working on those paths, Michael separately added the missing negative pg_resetwal -o test #21 1a531f787f.
- Bharath supplied an experimental oid8-default delta and broad test results, while Greg Burd quantified the wider pointers' row-size ceiling and demonstrated that an administrator could force counter wraparound; Michael favored documenting backward-counter risks over adding an index probe to normal oid8 allocation #22 #23 #24 #26.
- The standalone counter revision landed with comment corrections and a catalog bump, preserving the low-four-byte compatibility behavior while carrying the full counter through WAL, control data, and upgrades #23 #25 cb29861646.
- Michael reorganized the remaining work and committed binary-upgrade chunk-type transport and the toast_value_type reloption, making only small presentation, catalog-version, and typedef-list changes to their posted versions #28 #29 #31 34fcd735f1 f33844889b.
- Bharath supplied a substantial deduplication delta introducing shared pointer decoding, scan-key setup, and rewrite-ID preservation helpers; Michael integrated it into the remaining series and separately committed Bharath's suggested no-padding assertion for the existing pointer structure #30 #32 1497ea77ed.
- Rui Zhao tested recovery, upgrades, rewrites, and logical decoding with large IDs and supplied two targeted recovery tests plus documentation; Michael accepted the testing direction but declined the proposed lost-control-file guidance #36 #37 #38.
- Oleg Bartunov raised extension compatibility concerns about the broader on-disk-pointer predicate, and Michael explained that the structure rename forces affected extensions to adapt at compilation and that the shared decoding helper supports either representation #39 #40 #43 #44.
- Rui's standby-promotion test landed with its posted code unchanged, and Michael's next remainder incorporated Rui's decoding test, a high-OID pg_upgrade test, and REPACK coverage after two more preparatory components had landed #36 #45 1cd8669179.
- Marcos Pegoraro noticed that the reloption documentation omitted REPACK, leading directly to the small documentation commit and additional rewrite tests #34 #46 4b4b5eae90.
- Greg and Bharath tested and approved the final posted feature series, but before committing external oid8 pointers Michael changed amcheck to trust the TOAST relation's chunk_id type and cross-check the pointer tag instead of trusting the potentially corrupt tag itself #47 #48 #50 6e58d6356f.
- Michael immediately noticed that the new amcheck error path lacked a return and committed a separate correction to prevent duplicate corruption reports #50 0d34736e4c.
- Bharath reported that resetting toast_value_type could make a later dump restore an oid8 table as oid and proposed dump preservation and migration documentation; Greg reproduced the behavior and offered a smaller warning patch #49 #52.
- Rui then found that supposedly compressed external values in amcheck actually remained inline and supplied a correction plus a separate high-OID amcheck TAP test; Greg showed that the proposed larger values still remained inline under lz4 and withdrew his RESET warning in favor of discussing the underlying semantics #53 #54.
- Michael rejected implicit rewrites for reloption changes and the extra amcheck TAP instance, then replaced the compressed-value test data with a cheaper predictable pattern, pinned pglz, and applied the correction to both amcheck and test_decoding #56 #57 87c6ef14f1.
- The pg_upgrade high-OID test from the final series landed with a corrected environment guard and an explanatory fixture comment, making the regression suite exercise IDs beyond the four-byte range #45 #48 04c4c1c3a9.
- Michael initially preferred a general mechanism for running tests with a high initial OID, but Bharath measured the targeted decoding test's small runtime cost and argued against leaving the gap open; Rui's test ultimately landed with only comment and formatting edits #58 #59 #61 #62 a3f4fc5bac.
- John Naylor identified stale limits documentation, and Bharath added a correction while simplifying his outstanding dump-preservation tests; after Michael questioned the migration guide's narrow prescription and the benefit of changing dump semantics, Bharath withdrew both follow-up proposals #64 #65 #66 #67.
- Michael refined the limits wording, Bharath reposted the surviving documentation patch, and it landed with one final small wording deletion #68 #69 #70 74b89f8f96.
- The thread ended with the main feature and selected follow-ups committed, the dump-preservation and migration proposals withdrawn, and Hannu reporting a 23% insertion improvement; Michael still favored avoiding duplicate-ID probes but left open whether defensive oid8 rechecking should be added during the release cycle #67 #71 #72.