diff options
| author | Michael Paquier | 2020-01-21 04:46:39 +0000 |
|---|---|---|
| committer | Michael Paquier | 2020-01-21 04:46:39 +0000 |
| commit | 62c9b522311afd791fd92fe46a294f7e21f10540 (patch) | |
| tree | bcf10fd28ea157786a0d538132d6642d6213ae33 /src/include/pgstat.h | |
| parent | 31f403e95fdf88338d3fc9c6af80fcf6d8241044 (diff) | |
Add GUC variables for stat tracking and timeout as PGDLLIMPORT
This helps integration of extensions with Windows. The following
parameters are changed:
- idle_in_transaction_session_timeout (9.6 and newer versions)
- lock_timeout
- statement_timeout
- track_activities
- track_counts
- track_functions
Author: Pascal Legrand
Reviewed-by: Amit Kamila, Julien Rouhaud, Michael Paquier
Discussion: https://postgr.es/m/1579298868581-0.post@n3.nabble.com
Backpatch-through: 9.4
Diffstat (limited to 'src/include/pgstat.h')
| -rw-r--r-- | src/include/pgstat.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 36b530bc27f..aecb6013f00 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -1210,9 +1210,9 @@ typedef struct PgStat_FunctionCallUsage * GUC parameters * ---------- */ -extern bool pgstat_track_activities; -extern bool pgstat_track_counts; -extern int pgstat_track_functions; +extern PGDLLIMPORT bool pgstat_track_activities; +extern PGDLLIMPORT bool pgstat_track_counts; +extern PGDLLIMPORT int pgstat_track_functions; extern PGDLLIMPORT int pgstat_track_activity_query_size; extern char *pgstat_stat_directory; extern char *pgstat_stat_tmpname; |
