Remove replacement code for getaddrinfo

Enterprise / PostgreSQL - Thomas Munro [postgresql.org] - 13 August 2022 21:53 UTC

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.

5579388d2d Remove replacement code for getaddrinfo.
config/c-library.m4 | 11 -
configure | 42 ----
configure.ac | 11 -
src/backend/libpq/auth.c | 1 +
src/backend/libpq/hba.c | 1 +
src/bin/initdb/initdb.c | 3 +-
src/include/common/ip.h | 4 +-
src/include/getaddrinfo.h | 162 -------------
src/include/libpq/libpq-be.h | 8 -
src/include/pg_config.h.in | 6 -
src/include/port/win32/netdb.h | 8 +
src/include/replication/walreceiver.h | 4 +-
src/interfaces/libpq/fe-connect.c | 1 +
src/interfaces/libpq/libpq-int.h | 3 +-
src/port/Makefile | 4 -
src/port/getaddrinfo.c | 439 ----------------------------------
src/tools/msvc/Mkvcbuild.pm | 2 +-
src/tools/msvc/Solution.pm | 2 -
18 files changed, 22 insertions(+), 690 deletions(-)

Upstream: git.postgresql.org


  • Share