model-writtenrun 1533 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
Jul - Dec 2025 ยท 18 entries
- Shubham Khanna proposed selecting individual tables with --table after each --database, including optional column lists and row filters, to accelerate partial logical-replica setup using pg_createsubscriber #1.
- Hayato Kuroda questioned option-order dependence and the -f shorthand, while Zhijie Hou proposed database-qualified table names and Vignesh discussed matching pg_amcheck's naming conventions #2 #4 #10 #11.
- The next implementation used pattern expansion, but Peter Smith found compilation errors, ineffective database-name handling, and unsupported filter syntax; Shubham revised the table-list implementation and split column-list and WHERE support into a second patch #13 #14 #15 #16.
- Euler Taveira challenged the table-selection interface, filtering corner cases, and the usefulness of copying an entire cluster for a partial replica, then proposed reusing existing publications through --publication #17 #21.
- Hou suggested leaving table cleanup and dedicated filter support for later work, while Peter proposed accepting publication SQL fragments and Hou objected to their SQL-injection risk; the implementation instead switched to a separate --existing-publication option #20 #22 #24 #25.
- Peter showed that the separate existing-publication option could not express mixed existing and new publications across databases, and Hou proposed an opt-in flag to preserve the previous error behavior #26 #27.
- Shubham implemented --if-not-exists and then renamed it --reuse-existing-publications after Peter's review, while simplifying redundant publication-state bookkeeping #28 #29 #30.
- Euler and Amit Kapila argued that publication reuse should work directly through --publication without an extra compatibility flag, and Shubham adopted that design #31 #32 #35.
- Peter's next reviews exposed inconsistent cleanup documentation and implementation, leading to the settled behavior that existing publications are preserved normally but --clean=publications removes all publications on the subscriber #36 #38 #40 #41.
- Further revisions clarified logging, comments, and tests, and Chao Li identified a redundant made_publication assignment and a dry-run behavior change caused by moving cleanup into an else branch #42 #43 #45 #46 #49.
- Peter and Shubham worked through a matrix of publication creation, cleanup, and dry-run combinations; an initial correction still suppressed a required drop log, and the following revision corrected that condition and supplied demonstration results #50 #51 #52 #53.
- Peter supplied a comment-only top-up and identified duplicate creation logging, which Shubham folded into the full patch; after correcting publication-name mismatches in the demonstration script, Peter accepted the resulting logs #54 #55 #56 #57 #58 #59.
- October and November rebases accommodated upstream logging changes, but Peter noticed that normal execution was being labeled as a dry run; two small revisions restored the intended reuse message #60 #61 #62 #63 #64 #65.
- Vignesh found missing test assertions and requested clearer database-to-publication checks, after which Peter took over posting revisions and improved the dry-run tests to compare state before and after execution #66 #67 #68 #69.
- tianbing found a leaked PQescapeLiteral result, which Peter fixed, and Vignesh's subsequent suggestion led Peter to combine cleanup coverage with an existing conversion test #70 #71 #72 #73.
- Euler supplied a full patch plus a fixup that renamed and reworked the publication lookup, aligned query construction and error handling with surrounding code, simplified cleanup, and removed extra test nodes and dry-run tests while adding an excluded-table check; he reported unchanged coverage with substantially less added test time #74.
- Peter reviewed and folded Euler's fixup into the final attachment with minor test edits, and Euler approved it in the thread's last message, leaving the series ready for commit #75 #76.
- Amit Kapila subsequently committed the final attachment unchanged in code, documentation, and tests as 85ddcc2f4c, crediting Shubham as author; the landed feature reuses existing publications through --publication, replacing the original custom --table parser proposal #75.