mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-01 19:45:33 +08:00
Update so init displays status with setproctitle too, like the rest of them.
This commit is contained in:
parent
a267c88d3b
commit
f19ae14612
@ -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 New Issue
Block a user