Transaction Variables

Transaction variables are variables that are cleared when the transaction exits

current_setting('my_app.user_id', TRUE)