SessionTerminatedExceptionReason
Why the server ended the session.
Entries
Link copied to clipboard
The transaction ran past what the server allows it - open longer than transaction_timeout (25P04), or sitting open with nothing running longer than idle_in_transaction_session_timeout (25P03).
Link copied to clipboard
The session sat idle outside a transaction for longer than idle_session_timeout allows (57P05).
Link copied to clipboard
An administrator ended it - pg_terminate_backend(), or the server shutting down (57P01).
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.