session_replication_role is a configuration parameter controlling the firing of replication-related triggers and rules.
session_replication_role was added in PostgreSQL 8.3.
Possible values for
local are equivalent.
replica means that triggers (including foreign keys) and rules will not be applied. This is mainly intended for use in by logical replication systems.
The default value for