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

Revise server host IP address detection and handling #583

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

Conversation

gibeom-gwon
Copy link

Use getaddrinfo(3) to detect and convert server host IP address.
Additionally, this commit sets sin6_scope_id, you can use link-local
IPv6 address as a server address.(e.g., host=fe80::...%eth0)

Use getaddrinfo(3) to detect and convert server host IP address.
Additionally, this commit sets sin6_scope_id, you can use link-local
IPv6 address as a server address.(e.g., host=fe80::...%eth0)
@petere
Copy link
Member

petere commented May 12, 2021

What is the benefit of this change?

@gibeom-gwon
Copy link
Author

As wrote in description, we can connect PostgreSQL server with IPv6 link-local address.

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.

None yet

2 participants