1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-31 03:21:24 +03:00
Thomas Munro bcc8b14ef6 Remove configure probe for sockaddr_in6 and require AF_INET6.
SUSv3 <netinet/in.h> defines struct sockaddr_in6, and all targeted Unix
systems have it.  Windows has it in <ws2ipdef.h>.  Remove the configure
probe, the macro and a small amount of dead code.

Also remove a mention of IPv6-less builds from the documentation, since
there aren't any.

This is similar to commits f5580882 and 077bf2f2 for Unix sockets.  Even
though AF_INET6 is an "optional" component of SUSv3, there are no known
modern operating system without it, and it seems even less likely to be
omitted from future systems than AF_UNIX.

Reviewed-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/CA+hUKGKErNfhmvb_H0UprEmp4LPzGN06yR2_0tYikjzB-2ECMw@mail.gmail.com
2022-08-26 10:18:30 +12:00
..
2017-03-07 12:06:07 -05:00
2022-01-07 19:04:57 -05:00
2010-09-20 22:08:53 +02:00

src/tools/ifaddrs/README

test_ifaddrs
============

This program prints the addresses and netmasks of all the IPv4 and IPv6
interfaces on the local machine.  It is useful for testing that this
functionality works on various platforms.  If "samehost" and "samenet"
in pg_hba.conf don't seem to work right, run this program to see what
is happening.

Usage:	test_ifaddrs