diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-07-08 11:17:47 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-07-08 14:05:05 +1200 |
commit | 9db300ce6e38411144f1e36dba345a5f91bbdee4 (patch) | |
tree | 711b9ce24674f12515da778ca22a9891177f61da /src/backend/utils/misc/ps_status.c | |
parent | 3c633f32b9c712cc0b4c8d946f0eeae04a3ff51a (diff) |
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
Diffstat (limited to 'src/backend/utils/misc/ps_status.c')
-rw-r--r-- | src/backend/utils/misc/ps_status.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/backend/utils/misc/ps_status.c b/src/backend/utils/misc/ps_status.c index ec314c03f54..8520ce76bbd 100644 --- a/src/backend/utils/misc/ps_status.c +++ b/src/backend/utils/misc/ps_status.c @@ -15,9 +15,6 @@ #include "postgres.h" #include <unistd.h> -#ifdef HAVE_SYS_PSTAT_H -#include <sys/pstat.h> /* for HP-UX */ -#endif #ifdef HAVE_PS_STRINGS #include <machine/vmparam.h> /* for old BSD */ #include <sys/exec.h> @@ -45,9 +42,6 @@ bool update_process_title = true; * PS_USE_SETPROCTITLE * use the function setproctitle(const char *, ...) * (newer BSD systems) - * PS_USE_PSTAT - * use the pstat(PSTAT_SETCMD, ) - * (HPUX) * PS_USE_PS_STRINGS * assign PS_STRINGS->ps_argvstr = "string" * (some BSD systems) @@ -67,8 +61,6 @@ bool update_process_title = true; #define PS_USE_SETPROCTITLE_FAST #elif defined(HAVE_SETPROCTITLE) #define PS_USE_SETPROCTITLE -#elif defined(HAVE_PSTAT) && defined(PSTAT_SETCMD) -#define PS_USE_PSTAT #elif defined(HAVE_PS_STRINGS) #define PS_USE_PS_STRINGS #elif (defined(BSD) || defined(__hurd__)) && !defined(__darwin__) @@ -376,15 +368,6 @@ set_ps_display(const char *activity) setproctitle_fast("%s", ps_buffer); #endif -#ifdef PS_USE_PSTAT - { - union pstun pst; - - pst.pst_command = ps_buffer; - pstat(PSTAT_SETCMD, pst, ps_buffer_cur_len, 0, 0); - } -#endif /* PS_USE_PSTAT */ - #ifdef PS_USE_PS_STRINGS PS_STRINGS->ps_nargvstr = 1; PS_STRINGS->ps_argvstr = ps_buffer; |