mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-12 17:37:07 +08:00
Add GUC update_process_title to control whether 'ps' display is updated
for every command, default to on.
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
*
|
||||
* Declarations for backend/utils/misc/ps_status.c
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/utils/ps_status.h,v 1.26 2005/11/05 03:04:53 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/utils/ps_status.h,v 1.27 2006/06/27 22:16:44 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -12,12 +12,14 @@
|
||||
#ifndef PS_STATUS_H
|
||||
#define PS_STATUS_H
|
||||
|
||||
extern bool update_process_title;
|
||||
|
||||
extern char **save_ps_display_args(int argc, char **argv);
|
||||
|
||||
extern void init_ps_display(const char *username, const char *dbname,
|
||||
const char *host_info);
|
||||
const char *host_info, const char *initial_str);
|
||||
|
||||
extern void set_ps_display(const char *activity);
|
||||
extern void set_ps_display(const char *activity, bool force);
|
||||
|
||||
extern const char *get_ps_display(int *displen);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user