mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-11 13:47:37 +08:00
Up until now, we've had a policy of only marking certain variables in the PostgreSQL header files with PGDLLIMPORT, but now we've decided to mark them all. This means that extensions running on Windows should no longer operate at a disadvantage as compared to extensions running on Linux: if the variable is present in a header file, it should be accessible. Discussion: http://postgr.es/m/CA+TgmoYanc1_FSfimhgiWSqVyP5KKmh5NP2BWNwDhO8Pg2vGYQ@mail.gmail.com
26 lines
602 B
C
26 lines
602 B
C
/*-------------------------------------------------------------------------
|
|
*
|
|
* ps_status.h
|
|
*
|
|
* Declarations for backend/utils/misc/ps_status.c
|
|
*
|
|
* src/include/utils/ps_status.h
|
|
*
|
|
*-------------------------------------------------------------------------
|
|
*/
|
|
|
|
#ifndef PS_STATUS_H
|
|
#define PS_STATUS_H
|
|
|
|
extern PGDLLIMPORT bool update_process_title;
|
|
|
|
extern char **save_ps_display_args(int argc, char **argv);
|
|
|
|
extern void init_ps_display(const char *fixed_part);
|
|
|
|
extern void set_ps_display(const char *activity);
|
|
|
|
extern const char *get_ps_display(int *displen);
|
|
|
|
#endif /* PS_STATUS_H */
|