model-writtenrun 157 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Jun 2024 · 2 entries
- Andrew Dunstan proposed non-text pg_dumpall output in #1, initially favoring directory archives, a separate globals TOC, per-database restore control, and eventual use by pg_upgrade.
- Nathan Bossart requested custom-format support in #2, while Magnus Hagander argued that a directory containing custom archives would reduce file counts and simplify movement and monitoring in #4 and #7; Andrew retained parallelism as a priority while accepting that possibility in #10.
Dec 2024 - Apr 2025 · 15 entries
- After the initial discussion, Mahendra Singh Thalor supplied the first implementation in #12, using plain SQL in global.dat, an OID/name map.dat, and per-database archives rather than the originally proposed globals TOC.
- Nathan's build and documentation review in #14 drove corrections in #15, and Mahendra expanded support to custom and tar archives in #16, then corrected that accidental delta submission with the complete patch in #17.
- Guillaume Lelarge reported successful dump/restore testing and an error-message typo in #18, while Jian's sustained review drove option validation, directory handling, build integration, and restore fixes through #27 and #36.
- Álvaro Herrera requested removing duplicated connection code in #23, leading to common_dumpall_restore.c/.h in #29; his later review in #69 prompted a separate preparatory patch and changes to archive exit-callback handling in #70.
- Database selection needed to use names stored in the archive because databases might not yet exist, as Mahendra explained in #38; discussion in #41 also required accommodating script generation without a server connection.
- Jian demonstrated that quoted semicolons broke the SQL reader in #46, prompting character-by-character parsing in #50, while Srinath's stdout report in #51 led to the --file=- fix in #55.
- Further review exposed missing connection commands in generated scripts and inappropriate changes to ordinary restore behavior, leading to explicit --create enforcement in #62; Srinath's objection in #63 then produced a globals-only exemption in #68.
- Álvaro's review in #77 challenged connection sharing and archive cleanup, leading Mahendra to consolidate connection code in connectdb.c in #80 and supply the accidentally omitted files in #82.
- Newline-containing database names exposed map.dat's limitations: Dagfinn Ilmari Mannsåker proposed JSON in #84, Andrew raised complexity and encoding concerns in #85 and #87, and Andrew reported agreement with Álvaro on one-line entries with escaped newlines in #91.
- Andrew took over commit preparation in #94, extracted a shared OID/name list, and requested format-specific archive extensions, which Mahendra supplied in #95.
- Andrew's tests in #96 exposed errors from recreating existing databases and the connected role; Mahendra supplied corrective deltas in #98, and Andrew integrated revised cleanup in #102.
- Álvaro objected to manipulating exit-callback array indexes in #103, so Mahendra changed the active archive handle instead in #104, followed by Andrew's test and documentation preparation in #105.
- The feature portion of #105 landed as 1495eff7bd, with Andrew announcing small final tweaks in #108; its globals representation still depended on parsing plain SQL.
- Ranier Vilela reported a Coverity resource leak and supplied #110; after noticing that the applied cleanup was inside the loop in #112, he prompted Andrew's correction announced in #113.
- Mahendra proposed moving archive-extension detection outside the restore loop in #116, but Andrew declined the optimization in #117 because it could compromise format detection for little benefit.
Jul - Aug 2025 · 6 entries
- Noah Misch's post-commit review in #118 exposed dangerous globals-only restoration of --clean dumps, ignored pg_dump options, quoting problems, incomplete SQL parsing, and inconsistent database-creation behavior.
- Andrew agreed in #125 that documentation could not cure unexpected database drops, and Noah argued in #127 that multiline statements and restore filters required structured globals rather than custom SQL lexing.
- Andrew concluded in #131 that redesign was too risky late in the release cycle; his reduced-feature alternative in #133 was rejected by Tom Lane in #134 because it would force incompatible restore workflows across releases.
- Andrew posted the first revert in #137, Noah identified unrelated terminology that should remain in #138, and the lightly adjusted revert landed as ce9a6244b5, preserving shared connection infrastructure.
- A release-branch test failure reported in #141 proved to be stale snapshot packaging rather than a revert defect, and Christoph Berg resolved it in #143.
- After the revert, Andrew proposed reusing the archive machinery in #140; Noah explained in #146 how that would improve compatibility with existing and future restore options, and Andrew agreed in #147.
Oct 2025 - Mar 2026 · 11 entries
- Mahendra restarted the feature in #148, replacing global.dat parsing with global-object archive entries; testing drove #149, and #150 rebased the work before another cleanup round.
- Vaibhav Dalvi found that live restores received psql-only meta-commands in #152, prompting #153; his restrict-key delta in #157 was initially declined in #159 but its restriction was subsequently adopted in #160.
- Tushar Ahuja's crash report in #155 and Andrew's timestamp diagnosis in #156 drove cleanup fixes, while Andrew's proposal in #161 to always store globals in custom-format toc.glo was implemented in #163.
- Vaibhav's review in #164 drove option-state and connection-cleanup changes in #165, followed by a compiler fix in #166; Tushar's subsequent tablespace and option-combination tests drove #170, which was rebased in #172.
- Tushar and Jian continued finding transaction, role, script, and documentation problems in #173, #179, and #180, while Andrew challenged divergent plain and archive output in #181; revisions through #189 addressed only part of this feedback.
- Further path, ownership, and string-handling reports in #190, #191, and #193 preceded the substantial revision #194, which introduced explicit global-object TOC types and revised globals transaction and error handling.
- Tushar approved his retest of #194 in #195, and Andrew resumed final preparation in #196, including Windows test fixes; Jian's delta #198 then drove documentation and allocation corrections.
- Andrew added editable map.dat comments in #199, retained cross-database object selection after discussion in #201, and prepared #202; Jian's review in #203 produced the final posted revision #204.
- The second feature landing, 763aaa06f0, came from #204 with an additional change to skip excluded databases during invalid-name validation, beyond the version the listed reviewers had examined.
- Tom Lane reported semaphore exhaustion from accumulating test postmasters in #207; Andrew's inline stop-and-clean solution in #208 became d6d9b96b40.
- Peter Eisentraut identified const-casting and argument mutation in #209; Mahendra's local-copy fix in #210 became 01c729e0c7, with Andrew simplifying the allocation to pstrdup.
Jun 2026 · 2 entries
- Noah's second post-commit review in #214 found unresolved architectural problems, including duplicated format-specific SQL, DROP statements stored as createStmt, missing fsync, and absent comment/security-label dependencies, and recommended another revert.
- Andrew supplied the second revert in #215, Noah verified its completeness in #216, and 7ca548f23a removed the feature and dependent fixes with release-note cleanup, as announced in #217.
Aug - Oct 2026 · 3 entries
- Mahendra restarted again in #218, separating three option-helper prerequisites from a rewritten feature using proper dropStmt fields, archive dependencies, fsync, and shell quoting.
- Jian supplied further unification work in #219, which Mahendra incorporated into #220 so every format used the archiver for globals; this revision also fixed duplicate database drops and excluded databases being dropped without restoration.
- The final submission #221 adds alternate connections for recreating the currently connected database and explicit reporting of ignored global errors; the new series remains uncommitted, with global drop ordering, --globals-only combined with --clean, and database recognition inside connection strings still unresolved.