model-writtenrun 9587 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut reported that FOR ALL TABLES publications incorrectly required replica identity for updates to unlogged tables and proposed skipping the executor check for nonpublishable relations in #1.
- Amit Langote connected the bug to temporary tables and observed that Peter's patch appeared to cover them too in #2.
- Kyotaro Horiguchi questioned leaving incorrect publication actions in the relation cache and supplied a fix inside GetRelationPublicationActions() in #3; Amit instead suggested asserting publishability there while retaining Peter's caller-side guard in #4, an alternative Kyotaro accepted as reasonable in #5.
- Peter chose to handle nonpublishable relations directly inside GetRelationPublicationActions() in #6, returning empty actions immediately so existing and future callers would work without separate guards or assertions.
- Peter committed #6 as bb385c4fb0 with additional regression tests for temporary and unlogged tables, then confirmed in #7 that the fix had landed and been backpatched through PostgreSQL 10.