PostgreSQL replica accumulates WAL and stalls after archive_command ownership changed during maintenance
## Environment Primary and standby on Ubuntu 20.04. Primary PostgreSQL 12.8 with streaming replication and archive_command writing WAL files to /var/lib/pgsql/archive owned by postgres:postgres. Admin ran maintenance and temporarily changed owner of...