Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure pg_host is always an ip address #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

branic
Copy link

@branic branic commented Sep 9, 2019

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.

@mpetrive-rh mpetrive-rh linked an issue Feb 27, 2020 that may be closed by this pull request
@mpetrive-rh
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replication configuration does not work when using DB hostname
2 participants