Hello!
An automated claude review found a residual crash in pgoutput after
the committed fix, which repeatedly crashes the walsender following an
interrupted ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY.
0001 contains a test case and a simple fix.
And after further looking, I realized that there's one more leftover
issue, which doesn't cause a crash but failures in subscribers:
pg_get_publication_tables only relied on relispartition instead of
following the same approach as the previous fix commit and 0001. 0002
modifies it to match the other locations.