RESETTING
Indicates if the trigger fired during a session reset
PSQL — triggers only
BOOLEAN
RESETTING
Its value is TRUE
if session reset is in progress and FALSE
otherwise.Intended for use in ON DISCONNECT
and ON CONNECT
database triggers to detect an ALTER SESSION RESET
.