diff options
author | Bruce Momjian <bruce@momjian.us> | 2000-05-24 00:24:17 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2000-05-24 00:24:17 +0000 |
commit | f19ae14612b8c2750ea1a2d448fea27ab9f258fa (patch) | |
tree | 57be8ef62724eff641d5af9d535101655a65ce6f | |
parent | a267c88d3b6f27ae8d273f0a9d297ee3115c34c5 (diff) | |
download | postgresql-f19ae14612b8c2750ea1a2d448fea27ab9f258fa.tar.gz postgresql-f19ae14612b8c2750ea1a2d448fea27ab9f258fa.zip |
Update so init displays status with setproctitle too, like the rest of them.
-rw-r--r-- | src/include/utils/ps_status.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/ps_status.h b/src/include/utils/ps_status.h index 46ef3ff8c4a..31e98f6ce30 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() \ |