Open branic opened 5 years ago
There are cases when pg_host can't and won't be an IP. One good example is if your database is behind a CNAME entry as is the case for increased availability solutions for PostgreSQL. There is an open issue around this, linked. We need to investigate more
pg_host needs to be an ip address, but it is possible that pg_host is defined as a hostname.
This PR ensures that an ip address is always used for checking pg_host against the ip address of the master database server.