From 9db300ce6e38411144f1e36dba345a5f91bbdee4 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Fri, 8 Jul 2022 11:17:47 +1200 Subject: Remove HP-UX port. HP-UX hardware is no longer produced, build farm coverage recently ended, and there are no known active maintainers targeting this OS. Since there is a major rewrite of the build system in the pipeline for PostgreSQL 16, and that requires development, testing and maintainance for each OS and tool chain, it seems like a good time to drop support for: * HP-UX, the operating system. * HP aCC, the HP-UX native compiler. Reviewed-by: Tom Lane Reviewed-by: Andres Freund Reviewed-by: Peter Eisentraut Discussion: https://postgr.es/m/1415825.1656893299%40sss.pgh.pa.us --- src/backend/libpq/ifaddr.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/backend/libpq') diff --git a/src/backend/libpq/ifaddr.c b/src/backend/libpq/ifaddr.c index a41808aff0..5494c9b303 100644 --- a/src/backend/libpq/ifaddr.c +++ b/src/backend/libpq/ifaddr.c @@ -333,17 +333,11 @@ pg_foreach_ifaddr(PgIfAddrCallback callback, void *cb_data) #endif /* - * SIOCGIFCONF does not return IPv6 addresses on Solaris - * and HP/UX. So we prefer SIOCGLIFCONF if it's available. - * - * On HP/UX, however, it *only* returns IPv6 addresses, - * and the structs are named slightly differently too. - * We'd have to do another call with SIOCGIFCONF to get the - * IPv4 addresses as well. We don't currently bother, just - * fall back to SIOCGIFCONF on HP/UX. + * SIOCGIFCONF does not return IPv6 addresses on Solaris. + * So we prefer SIOCGLIFCONF if it's available. */ -#if defined(SIOCGLIFCONF) && !defined(__hpux) +#if defined(SIOCGLIFCONF) /* * Enumerate the system's network interface addresses and call the callback -- cgit v1.2.1