I wrote:
> PG Bug reporting form <noreply@postgresql.org> writes:
>> When logical replication target is a partitioned table then execution of any
>> DDL on source table leads to crash of target (subscriber) server.
> Thanks for the report! I duplicated the crash on v13 branch tip,
I can't reproduce this anymore after commit b270713fd. I think it's
probably the same thing I found while making a test for your other
report:
logicalrep_partition_open() failed to ensure that the
LogicalRepPartMapEntry it built for a partition was fully
independent of that for the partition root, leading to
trouble if the root entry was later freed or rebuilt.
My failure to see a crash on HEAD was probably an accidental
issue of memory reuse patterns.
regards, tom lane