Remove replacement code for getaddrinfo.
authorThomas Munro <[email protected]>
Sat, 13 Aug 2022 21:53:28 +0000 (09:53 +1200)
committerThomas Munro <[email protected]>
Sat, 13 Aug 2022 21:53:28 +0000 (09:53 +1200)
commit5579388d2dda60ded329a4623f9b4529e91a1b24
tree01eacd42c65c6d419f5b2d6caf85e2cfefc5653b
parentde42bc3ac8f7205f2c302b402e40704ceb46a70c
Remove replacement code for getaddrinfo.

SUSv3, all targeted Unixes and modern Windows have getaddrinfo() and
related interfaces.  Drop the replacement implementation, and adjust
some headers slightly to make sure that the APIs are visible everywhere
using standard POSIX headers and names.

Reviewed-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com
18 files changed:
config/c-library.m4
configure
configure.ac
src/backend/libpq/auth.c
src/backend/libpq/hba.c
src/bin/initdb/initdb.c
src/include/common/ip.h
src/include/getaddrinfo.h [deleted file]
src/include/libpq/libpq-be.h
src/include/pg_config.h.in
src/include/port/win32/netdb.h
src/include/replication/walreceiver.h
src/interfaces/libpq/fe-connect.c
src/interfaces/libpq/libpq-int.h
src/port/Makefile
src/port/getaddrinfo.c [deleted file]
src/tools/msvc/Mkvcbuild.pm
src/tools/msvc/Solution.pm