diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/miscadmin.h | 1 | ||||
-rw-r--r-- | src/include/storage/proc.h | 1 | ||||
-rw-r--r-- | src/include/utils/timeout.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/include/miscadmin.h b/src/include/miscadmin.h index cc7833e6cda..9200f045a24 100644 --- a/src/include/miscadmin.h +++ b/src/include/miscadmin.h @@ -80,6 +80,7 @@ extern PGDLLIMPORT volatile bool InterruptPending; extern PGDLLIMPORT volatile bool QueryCancelPending; extern PGDLLIMPORT volatile bool ProcDiePending; +extern PGDLLIMPORT volatile bool IdleInTransactionSessionTimeoutPending; extern volatile bool ClientConnectionLost; diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 612fa052be0..c3b462c9494 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -257,6 +257,7 @@ extern PGPROC *PreparedXactProcs; extern int DeadlockTimeout; extern int StatementTimeout; extern int LockTimeout; +extern int IdleInTransactionSessionTimeout; extern bool log_lock_waits; diff --git a/src/include/utils/timeout.h b/src/include/utils/timeout.h index 14e9720c885..f64921e2d67 100644 --- a/src/include/utils/timeout.h +++ b/src/include/utils/timeout.h @@ -30,6 +30,7 @@ typedef enum TimeoutId STANDBY_DEADLOCK_TIMEOUT, STANDBY_TIMEOUT, STANDBY_LOCK_TIMEOUT, + IDLE_IN_TRANSACTION_SESSION_TIMEOUT, /* First user-definable timeout reason */ USER_TIMEOUT, /* Maximum number of timeout reasons */ |