Bruce Momjian writes: > Patch applied. I added a small mention of IPv6 addresses to the > pg_hba.conf documentation. Not sure where else to mention it.
Can this patch please be cleaned up so the code doesn't contain an #ifdef on every other line? I would also like to discuss how IPv6 is handled during the server start and in pg_hba.conf. It seems that we should treat the address families Unix, IPv4, and IPv6 consistenly, which would mean two things: (1) pg_hba.conf entries pertaining to the address family are allowed and present in the default file, no matter whether the address family is used by the server. (2) A socket type is explicitly enabled for the server to use, and if creation fails, server startup fails. It seems that the current code falls back to IPv4 if IPv6 fails. -- Peter Eisentraut [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster