-
+
Server Configuration
Controls the trigger and rule firing for the current session.
- See for the different options to
+ See endterm="sql-altertable-title"> for the different options to
enable or disable triggers and rules. Setting the variable requires
superuser privilege and can only be done before any query plans have
been cached. Possible values are origin>,
The trigger firing mechanism is also affected by the configuration
variable . Simply ENABLEd
triggers will fire when the replication role is origin>
- (the default) or local>. Triggers configured ENABLE REPLICA
+ (the default) or local>. Triggers configured ENABLE REPLICA
will only fire if the session is in replica> mode and triggers
- configured ENABLE ALWAYS will fire regardless of the current replication
+ configured ENABLE ALWAYS will fire regardless of the current replication
mode.
These forms configure the firing of rewrite rules belonging to the table.
A disabled rule is still known to the system, but is not applied
during query rewriting. The semantics are as for disabled/enabled
- triggers. This configuration is ignored for ON SELECT rules, which
+ triggers. This configuration is ignored for ON SELECT rules, which
are always applied in order to keep views working even if the current
session is in a non-default replication role.