model-writtenrun 8916 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed populating the apply worker's updatedCols bitmap to make subscriber per-column update triggers fire, requested backpatching through PostgreSQL 10, and deferred generated-column trigger work to a separate effort in #1.
- Euler Taveira explained that the replication protocol cannot reliably identify which column values changed, favored firing triggers despite that limitation, and identified an array-index bug, an unnecessary lookup inside the loop, and missing test coverage in #2.
- Peter retained the bitmap approach, explained that subscriber-only columns should be excluded, and incorporated Euler's code fixes, explanatory comment, and additional regression test in #3.
- The revised patch from #3 landed unchanged apart from rebase context as b9c130a1fd, crediting Euler as reviewer.
- Peter confirmed that the fix was committed and backpatched through PostgreSQL 10 in #4, completing this thread's patch series.