Hi Zsolt, Did some testing and the WAL bloat problem was resolved.
I think pg_upgrade needs a check. A 19 database created by pgbench -i --unlogged-tables --partitions=2 --foreign-keys passes pg_upgrade --check, then the real upgrade fails. Thanks, Shihao
