This commit adds global options for postgres HA and standardizes the way we make decisions based on ha_type in various places in the codebase.
This commit adds global options for postgres HA and standardizes the way we make decisions based on ha_type in various places in the codebase.