pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove replacement code for getaddrinfo.
Date: Sat, 13 Aug 2022 22:02:48 +0000
Message-ID: <E1oMzDT-000eLH-2Q@gemulon.postgresql.org> (raw)

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 <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/CA%2BhUKG%2BL_3brvh%3D8e0BW_VfX9h7MtwgN%3DnFHP5o7X2oZucY9dg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5579388d2dda60ded329a4623f9b4529e91a1b24

Modified Files
--------------
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(-)



Message-ID: <E1oMzDT-000eLH-2Q@gemulon.postgresql.org>
Permalink:  ../E1oMzDT-000eLH-2Q@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oMzDT-000eLH-2Q@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org
  Subject: Re: pgsql: Remove replacement code for getaddrinfo.
  In-Reply-To: <E1oMzDT-000eLH-2Q@gemulon.postgresql.org>
  References: <E1oMzDT-000eLH-2Q@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox