model-writtenrun 3914 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Philip Warner reported that pg_dump omitted subscriptions' run_as_owner setting and offered to write a fix in #1.
- Philip additionally reported that ALTER SUBSCRIPTION did not appear to update the setting exposed through pg_subscriptions in #2; Laurenz Albe confirmed the dump omission and identified an existing fix for the separate view problem in #3.
- Philip confirmed that the view behaved correctly on current HEAD and proposed treating subscriptions from pre-16 servers as run_as_owner = true to preserve their historical behavior in #4.
- Philip supplied the previously omitted attachment in #5, adding collection, storage and conditional dumping of run_as_owner, including the pre-16 compatibility default.
- Tom Lane committed the patch with cosmetic field and stanza reordering as 67738dbf9c and backported the same change as 5ba4cc3090; his final reply #6 endorsed the compatibility default and confirmed the fix was pushed, leaving no outstanding patch work.