Terminate any session that spans longer than the specified amount of
- time in the transaction. The limit applies both to explicit transactions
+ time in a transaction. The limit applies both to explicit transactions
(started with BEGIN) and to an implicitly started
transaction corresponding to a single statement.
If this value is specified without units, it is taken as milliseconds.
If transaction_timeout is shorter or equal to
idle_in_transaction_session_timeout or statement_timeout
- transaction_timeout will invalidate the longer timeout.
+ then the longer timeout is ignored.
{
{"transaction_timeout", PGC_USERSET, CLIENT_CONN_STATEMENT,
- gettext_noop("Sets the maximum allowed time in a transaction with a session (not a prepared transaction)."),
+ gettext_noop("Sets the maximum allowed duration of any transaction within a session (not a prepared transaction)."),
gettext_noop("A value of 0 turns off the timeout."),
GUC_UNIT_MS
},