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/postmaster.c | |
| parent | 69d0a15e2aa15a2ee851df33f5c15fa227c47bd7 (diff) | |
| download | postgresql-370a709c75becffba230a3fa14747a134b7d55b4.tar.gz | |
Add GUC update_process_title to control whether 'ps' display is updated
for every command, default to on.
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
| -rw-r--r-- | src/backend/postmaster/postmaster.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 8164d7e5b0..faf124587d 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -37,7 +37,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.488 2006/06/20 22:52:00 tgl Exp $ + * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.489 2006/06/27 22:16:43 momjian Exp $ * * NOTES * @@ -2713,9 +2713,9 @@ BackendInitialize(Port *port) * Now that we have the user and database name, we can set the process * title for ps. It's good to do this as early as possible in startup. */ - init_ps_display(port->user_name, port->database_name, remote_ps_data); - set_ps_display("authentication"); - + init_ps_display(port->user_name, port->database_name, remote_ps_data, + update_process_title ? "authentication" : ""); + /* * Now perform authentication exchange. */ |
