Second try at IPv4-to-v6 mapping code; avoid assuming that the struct
Tom Lane <tgl@sss.pgh.pa.us>
Second try at IPv4-to-v6 mapping code; avoid assuming that the struct returned by getaddrinfo_all will have enough room for an IPv6 address.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/hba.c | modified | +32 −35 |
| src/backend/libpq/ip.c | modified | +14 −14 |
| src/include/libpq/ip.h | modified | +2 −2 |