model-writtenrun 4019 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zhijie Hou proposed three changes in #1: allocate RelationSyncCache in the plugin's memory context, fix stale origin-filter state by moving publish_no_origin into PGOutputData, and move in_streaming there for consistency, while retaining globals needed by invalidation callbacks.
- Michael Paquier supported the origin and streaming changes but challenged the cache redesign in #2, arguing that its mixture of static pointers, callbacks, and per-plugin allocations made ownership inconsistent; he also noticed two incorrect cache names in comments.
- Michael corrected those two comment typos independently in c868cbfef7, directly following the observation in #2.
- Peter Smith reviewed the origin and streaming patches in #3, correcting the claim that a static variable was uninitialized and requesting clearer descriptions, reuse of an existing data pointer, and a comment for the streaming field.
- Amit Kapila proposed using the existing origin string on PostgreSQL 16 to preserve the exposed structure, replacing that string with a boolean on HEAD, and adding regression coverage in #4; Hou deferred the cache redesign in #5 and submitted those origin variants plus the streaming patch and a replorigin.sql test in #6.
- Michael proposed moving PGOutputData out of its public header in #7, but Amit argued that this needed separate consensus in #10, and Hou supplied evidence of external use in a PostgreSQL fork in #11; Michael accepted separating the issue in #12.
- Amit reported testing and reviewing both revised origin-filter variants in #13, and Michael concluded in #15 that moving in_streaming was a cleanup rather than a live bug fix because startup already reset the flag.
- The origin-filter portion of #6 landed on the development branch as 54ccfd6586, replacing the origin string with a private boolean and adding regression coverage; 8d05be9319 is its PostgreSQL 16 counterpart using string comparisons to preserve the released structure, despite both appearing as separate candidates.
- Michael committed the streaming portion of #6 as 9210afd3bc, moving the flag into PGOutputData with a field comment and an assertion-only variable annotation; this cleanup was limited to HEAD.
- The final archive update in #16 confirms that both remaining patches landed, with the origin fix backpatched through PostgreSQL 16; the RelationSyncCache redesign remained deferred as stated in #5, and privatizing the exposed structure was left for separate discussion.