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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: On HP/UX, the structs used by ioctl(SIOCGLIFCONF) are named diff
Date: 2011-04-13 19:27:40
Message-ID: E1QA5j2-0001CT-QU@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/66bd917b591371811fe08c5071757b2ab654a6ff

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2011-04-13 19:29:10 pgsql: Avoid incorrectly granting replication to roles created with NOS
Previous Message Heikki Linnakangas 2011-04-13 19:06:46 pgsql: Revert the patch to check if we've reached end-of-backup also wh