Header And Logo

PostgreSQL
| The world's most advanced open source database.

ps_status.h

Go to the documentation of this file.
00001 /*-------------------------------------------------------------------------
00002  *
00003  * ps_status.h
00004  *
00005  * Declarations for backend/utils/misc/ps_status.c
00006  *
00007  * src/include/utils/ps_status.h
00008  *
00009  *-------------------------------------------------------------------------
00010  */
00011 
00012 #ifndef PS_STATUS_H
00013 #define PS_STATUS_H
00014 
00015 extern bool update_process_title;
00016 
00017 extern char **save_ps_display_args(int argc, char **argv);
00018 
00019 extern void init_ps_display(const char *username, const char *dbname,
00020                 const char *host_info, const char *initial_str);
00021 
00022 extern void set_ps_display(const char *activity, bool force);
00023 
00024 extern const char *get_ps_display(int *displen);
00025 
00026 #endif   /* PS_STATUS_H */