> Why don't you add "standby" and "prefer_standby" as the target_server_type value? Are you thinking that those values are useful with load balancing > feature?
Yes this patch will only address failover to new master, values "master" and "any" appeared sufficient for that case.