diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-06-27 22:16:44 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-06-27 22:16:44 +0000 |
commit | 370a709c75becffba230a3fa14747a134b7d55b4 (patch) | |
tree | 87637e2543c307e08a19ae57a5022b7b6299b263 /src/backend/postmaster/pgstat.c | |
parent | 69d0a15e2aa15a2ee851df33f5c15fa227c47bd7 (diff) |
Add GUC update_process_title to control whether 'ps' display is updated
for every command, default to on.
Diffstat (limited to 'src/backend/postmaster/pgstat.c')
-rw-r--r-- | src/backend/postmaster/pgstat.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/backend/postmaster/pgstat.c b/src/backend/postmaster/pgstat.c index f300b142dcc..34ae644351d 100644 --- a/src/backend/postmaster/pgstat.c +++ b/src/backend/postmaster/pgstat.c @@ -13,7 +13,7 @@ * * Copyright (c) 2001-2006, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.131 2006/06/27 03:45:16 alvherre Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/pgstat.c,v 1.132 2006/06/27 22:16:43 momjian Exp $ * ---------- */ #include "postgres.h" @@ -1743,8 +1743,7 @@ PgstatCollectorMain(int argc, char *argv[]) /* * Identify myself via ps */ - init_ps_display("stats collector process", "", ""); - set_ps_display(""); + init_ps_display("stats collector process", "", "", ""); /* * Arrange to write the initial status file right away @@ -1975,8 +1974,7 @@ pgstat_recvbuffer(void) /* * Identify myself via ps */ - init_ps_display("stats buffer process", "", ""); - set_ps_display(""); + init_ps_display("stats buffer process", "", "", ""); /* * We want to die if our child collector process does. There are two ways |