pgsql: Remove configure probe for sys/sockio.h.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove configure probe for sys/sockio.h.
Date: 2022-08-18 04:34:02
Message-ID: E1oOXEH-0003ff-9s@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2022-08-18 09:49:15 Re: pgsql: Refer to replication origin roident as "ID" in user facing messa
Previous Message John Naylor 2022-08-18 02:50:15 pgsql: Update comment in gramparse.h