It would be useful for automated HA solutions. Case: https://github.com/postgrespro/pg_probackup/issues/66#issuecomment-595533811