From: Bruce Momjian Date: Wed, 24 May 2000 00:24:17 +0000 (+0000) Subject: Update so init displays status with setproctitle too, like the rest of them. X-Git-Tag: REL7_0_2~43 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f19ae14612b8c2750ea1a2d448fea27ab9f258fa;p=postgresql Update so init displays status with setproctitle too, like the rest of them. --- diff --git a/src/include/utils/ps_status.h b/src/include/utils/ps_status.h index 46ef3ff8c4..31e98f6ce3 100644 --- a/src/include/utils/ps_status.h +++ b/src/include/utils/ps_status.h @@ -20,6 +20,7 @@ extern char Ps_status_buffer[]; #define PS_INIT_STATUS(argc, argv, execname, username, hostname, dbname) \ do { \ sprintf(Ps_status_buffer, "%s %s %s %s", execname, hostname, username, dbname); \ + setproctitle("%s", Ps_status_buffer); \ } while (0) #define PS_CLEAR_STATUS() \