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 configure probe for sys/sockio.h.
Date: Thu, 18 Aug 2022 04:34:02 +0000
Message-ID: <E1oOXEH-0003ff-9s@gemulon.postgresql.org> (raw)

Remove configure probe for sys/sockio.h.

On BSD-family systems, header <sys/sockio.h> defines socket ioctl
numbers like SIOCGIFCONF.  Only AIX is using those now, but it defines
them in <net/if.h> anyway.

Supposing some PostgreSQL hacker wants to test that AIX-only code path
on a more common development system by pretending not to have
getifaddrs().  It's enough to include <sys/ioctl.h>, at least on macOS,
FreeBSD and Linux, and we're already doing that.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2cea02fb85b9b00c3b95d8cd0e39cf91cd2ce289

Modified Files
--------------
configure                  | 2 +-
configure.ac               | 1 -
src/backend/libpq/ifaddr.c | 4 ----
src/include/pg_config.h.in | 3 ---
src/tools/msvc/Solution.pm | 1 -
5 files changed, 1 insertion(+), 10 deletions(-)



Message-ID: <E1oOXEH-0003ff-9s@gemulon.postgresql.org>
Permalink:  ../E1oOXEH-0003ff-9s@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oOXEH-0003ff-9s@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 configure probe for sys/sockio.h.
  In-Reply-To: <E1oOXEH-0003ff-9s@gemulon.postgresql.org>
  References: <E1oOXEH-0003ff-9s@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