Would this be useful to upgrade major versions of PostgreSQL servers?
pg_flo can perform common DDLs for you (not something that's in built in logical replication today, hopefully soon) [2]
[1] https://www.postgresql.org/docs/current/logical-replication-...
[2] https://github.com/shayonj/pg_flo/blob/0e8b6b9ca1caf768b71d3...