mirror of
https://github.com/postgres/postgres.git
synced 2025-11-10 17:42:29 +03:00
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 <tgl@sss.pgh.pa.us> Reviewed-by: Andres Freund <andres@anarazel.de> Reviewed-by: Peter Eisentraut <peter.eisentraut@enterprisedb.com> Discussion: https://postgr.es/m/1415825.1656893299%40sss.pgh.pa.us
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user