mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Update so init displays status with setproctitle too, like the rest of them.
This commit is contained in:
parent
a267c88d3b
commit
f19ae14612
1 changed files with 1 additions and 0 deletions
|
|
@ -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() \
|
||||
|
|
|
|||
Loading…
Reference in a new issue