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 */ 27