pgbouncer
pgbouncer copied to clipboard
Revise server host IP address detection and handling
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)
What is the benefit of this change?
As wrote in description, we can connect PostgreSQL server with IPv6 link-local address.