-
Notifications
You must be signed in to change notification settings - Fork 0
Description
postgres-queues/queue/functions.sql
Line 22 in 70c0eed
| EXECUTE PROCEDURE generic_queue_notify()' |
see https://www.postgresql.org/docs/9.1/sql-createtrigger.html
'When the CONSTRAINT option is specified, this command creates a constraint trigger. This is the same as a regular trigger except that the timing of the trigger firing can be adjusted using SET CONSTRAINTS. Constraint triggers must be AFTER ROW triggers. They can be fired either at the end of the statement causing the triggering event, or at the end of the containing transaction; in the latter case they are said to be deferred. A pending deferred-trigger firing can also be forced to happen immediately by using SET CONSTRAINTS. Constraint triggers are expected to raise an exception when the constraints they implement are violated.'