model-writtenrun 432 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Zsolt Parragi opened the thread with logical-replication corruption, subscriber synchronization hazards, unexpected generated-column recomputation, and silent loss of partition properties, then supplied examples violating foreign-key, CHECK, and NOT NULL constraints #1 #2.
- jian he proposed revalidating constraints after MERGE recomputed generated values #3, but Zsolt argued that ALTER TABLE should preserve values and reject incompatible definitions rather than introduce surprising regeneration #4 #6; jian initially favored taking definitions from the parent because source partitions could disagree #5.
- Alexander Korotkov replaced that approach with a three-patch series that suppressed logical decoding of relocated rows, preserved simple replica identities while rejecting problematic publication membership, and copied stored generated values while rejecting system-column dependencies #7.
- jian demonstrated that copying generated values could still leave them inconsistent with the destination expression #8, leading Alexander to require matching parent and source generation expressions #9.
- jian supplied a delta covering virtual generated columns that depend on tableoid #10, while Zsolt exposed system-column CHECK failures, schema-publication changes, and unsafe subscriber guidance #11; jian traced the CHECK problem to evaluation under a restricted search path #12.
- Alexander incorporated those findings by rejecting system-column dependencies before creating partitions, removing unnecessary constraint reevaluation, checking schema publications, and rewriting replication guidance #13; he also explained that table_rewrite events describe a surviving relation and therefore do not fit MERGE/SPLIT.
- Zsolt found the revised series sound apart from stale comments and unhelpful error hints #14, but Melanie Plageman demonstrated that losing leaf RLS policies could expose previously hidden rows #15.
- Zsolt and Melanie warned against shipping permissive behavior that would change incompatibly later #16 #19, Daniel Gustafsson urged rejecting property differences, including access methods #17, and Nathan Bossart questioned the documentation and release readiness #18.
- Alexander added a fourth patch rejecting source RLS settings and policies, intending to leave broader support for a later release #20; Zsolt approved the fixes but reiterated that all dangerous differences needed equivalent treatment, with Daniel agreeing #22 #23.
- jian identified obsolete work-queue cleanup and requested comments explaining restricted-search-path evaluation #24, which Alexander incorporated while retaining cleanup that still freed resources #26.
- jian then supplied a default_table_access_method fix and wording corrections #27, which Alexander folded into the complete series as its fifth patch #28.
- Zsolt objected that the access-method fix still silently replaced source methods and could remove encryption provided by pg_tde #29; Melanie called for rejecting every source-parent difference, and Alexander agreed #30 #31.
- Zhijie Hou reviewed the logical-decoding and publication patches, accepted the former, withdrew an EXCEPT TABLE concern after checking its restrictions, and identified publication checks that unnecessarily rejected otherwise safe cases #32 #33.
- jian supplied a rough delta rejecting triggers, local constraints and indexes, differing defaults, and access methods, while leaving questions about column storage and compression #34.
- Robert Haas argued that the feature should be reverted because it neither cloned source definitions reliably nor improved data movement or locking enough to justify its remaining bugs and late design changes #35.
- jian expanded the restrictions to both commands, rejected unlogged partitions, and preserved source access methods, but acknowledged unresolved ACL, tablespace, and reloptions questions #36.
- Nathan announced the RMT's request to revert the feature for PostgreSQL 19, and Alexander agreed that the unresolved design required removal #37 #38.
- The discussion produced the feature-removal commits 7612ae8ed8 and 3e8bcc8644; both remove the existing implementation and associated support rather than commit an attached fix series.
- Alexander explained that manual ATTACH could avoid a second scan using suitable CHECK constraints #39, then confirmed the revert and agreed that a future implementation needed substantially better locking and a path toward concurrent operation #40; Robert acknowledged the outcome, leaving the proposed fixes unlanded and the feature deferred for redesign #41.