pgsql: On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named diff - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named diff
Date
Msg-id E1QA5j2-0001CR-SY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named differently
than on other platforms, and only IPv6 addresses are returned. Because of
those two issues, fall back to ioctl(SIOCGIFCONF) on HP/UX, so that it at
least compiles and finds IPv4 addresses. This function is currently only
used for interpreting samehost/samenet in pg_hba.conf, which isn't that
critical.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/40e64017f3a4f1f7547dcbc62c2dcf80511ff842

Modified Files
--------------
src/backend/libpq/ip.c |    8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named diff
Next
From: Robert Haas
Date:
Subject: pgsql: Avoid incorrectly granting replication to roles created with NOS