diff options
author | Michael Paquier <michael@paquier.xyz> | 2020-01-21 13:47:05 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2020-01-21 13:47:05 +0900 |
commit | 1ef7332b78f55f0503a8c882886d2979c2f94c62 (patch) | |
tree | 890f7f0634b41e138eabffc2658eeab1d0bb5998 /src/include/storage/proc.h | |
parent | 6f6daa1be78503ee3d171d28ed9f6843cc53d129 (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/storage/proc.h')
-rw-r--r-- | src/include/storage/proc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index e974f4e03da..947f69d6346 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -274,9 +274,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; |