pgbouncer icon indicating copy to clipboard operation
pgbouncer copied to clipboard

Revise server host IP address detection and handling

Open gibeom-gwon opened this issue 5 years ago • 2 comments

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)

gibeom-gwon avatar Apr 07 '21 07:04 gibeom-gwon

What is the benefit of this change?

petere avatar May 12 '21 09:05 petere

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

gibeom-gwon avatar May 12 '21 11:05 gibeom-gwon