git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a267c88)
Update so init displays status with setproctitle too, like the rest of them.
2000年5月24日 00:24:17 +0000 (00:24 +0000)
2000年5月24日 00:24:17 +0000 (00:24 +0000)

diff --git a/src/include/utils/ps_status.h b/src/include/utils/ps_status.h
index 46ef3ff8c4a083efb303df5f41a26cb8e6871f5c..31e98f6ce302d92e0c1e400167bbbb18debc8083 100644 (file)
--- 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() \
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /