PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
ps_status.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * ps_status.h
4  *
5  * Declarations for backend/utils/misc/ps_status.c
6  *
7  * src/include/utils/ps_status.h
8  *
9  *-------------------------------------------------------------------------
10  */
11 
12 #ifndef PS_STATUS_H
13 #define PS_STATUS_H
14 
15 extern bool update_process_title;
16 
17 extern char **save_ps_display_args(int argc, char **argv);
18 
19 extern void init_ps_display(const char *username, const char *dbname,
20  const char *host_info, const char *initial_str);
21 
22 extern void set_ps_display(const char *activity, bool force);
23 
24 extern const char *get_ps_display(int *displen);
25 
26 #endif /* PS_STATUS_H */
void set_ps_display(const char *activity, bool force)
Definition: ps_status.c:326
bool update_process_title
Definition: ps_status.c:35
void init_ps_display(const char *username, const char *dbname, const char *host_info, const char *initial_str)
Definition: ps_status.c:244
char ** save_ps_display_args(int argc, char **argv)
Definition: ps_status.c:121
static char * username
Definition: initdb.c:132
char * dbname
Definition: streamutil.c:42
const char * get_ps_display(int *displen)
Definition: ps_status.c:405