postgres.git / summary / log / commit / refs

commit    ef8e6b2c2ba05f27b7bbfcb1a180db07d1c274ee
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Tue Jan 21 04:46:55 2020 +0000
First released in: 13.0, 9.4.26, 9.5.21, 9.6.17, 10.12, 11.7, 12.2

    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


src/include/pgstat.h | 6 +++--- src/include/storage/proc.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/include/pgstat.h b/src/include/pgstat.h index 0a3ad3a1883..d10c270e60d 100644 --- a/src/include/pgstat.h +++ b/src/include/pgstat.h @@ -1209,9 +1209,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; diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index ac7ee72952e..43d0854a410 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -293,9 +293,9 @@ extern PGPROC *PreparedXactProcs; /* configurable options */ extern PGDLLIMPORT int DeadlockTimeout; -extern int StatementTimeout; -extern int LockTimeout; -extern int IdleInTransactionSessionTimeout; +extern PGDLLIMPORT int StatementTimeout; +extern PGDLLIMPORT int LockTimeout; +extern PGDLLIMPORT int IdleInTransactionSessionTimeout; extern bool log_lock_waits; [parent: 71b121f42548]