Second try at IPv4-to-v6 mapping code; avoid assuming that the struct

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 92aa462247f361495660240fef22524552906866
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-09-05T23:07:21Z
Releases: 7.4.1
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

PathChange+/−
src/backend/libpq/hba.c modified +32 −35
src/backend/libpq/ip.c modified +14 −14
src/include/libpq/ip.h modified +2 −2