Skip to content

Commit abe0ac6

Browse files
author
Commitfest Bot
committed
[CF 6013] Add process updating for GNU/Hurd
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/6013 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/[email protected] Author(s): Michael Banck
2 parents 447aae1 + 49c8368 commit abe0ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/utils/misc/ps_status.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bool update_process_title = DEFAULT_UPDATE_PROCESS_TITLE;
5252
#define PS_USE_SETPROCTITLE_FAST
5353
#elif defined(HAVE_SETPROCTITLE)
5454
#define PS_USE_SETPROCTITLE
55-
#elif defined(__linux__) || defined(__sun) || defined(__darwin__)
55+
#elif defined(__linux__) || defined(__sun) || defined(__darwin__) || defined(__GNU__)
5656
#define PS_USE_CLOBBER_ARGV
5757
#elif defined(WIN32)
5858
#define PS_USE_WIN32
@@ -62,7 +62,7 @@ bool update_process_title = DEFAULT_UPDATE_PROCESS_TITLE;
6262

6363

6464
/* Different systems want the buffer padded differently */
65-
#if defined(__linux__) || defined(__darwin__)
65+
#if defined(__linux__) || defined(__darwin__) || defined(__GNU__)
6666
#define PS_PADDING '\0'
6767
#else
6868
#define PS_PADDING ' '

0 commit comments

Comments
 (0)