Trigger Functions

Trigger Function can be created with PL/pgSQL and referenced within a PostgreSQL trigger definition. The term "trigger function" is a simply a way of referring to a function that is intended to be invoked by a trigger. Triggers define operations that are performed when a specific event occurs within the database. A PL/pgSQL trigger function can be referenced by a trigger as the operation to be performed when the trigger's event occurs.

The definition of a trigger and the definition of its associated trigger function are two different things. A trigger is defined with the SQL CREATE TRIGGER command, whereas trigger functions are defined using the SQL CREATE FUNCTION command.

See Triggers for details.

Just simply click -> Trigger Function to open an object pane for Trigger Function. A right-click displays the popup menu or using the object pane toolbar below, allowing you to create new, edit and delete the selected trigger function.

Create Trigger Function

To create a new trigger function

To create a new trigger function with modification as one of the existing trigger function

Edit Trigger Function

To edit the existing trigger function(manage its definition, advanced, etc)

To change the name of the trigger function

Delete Trigger Function

To delete a trigger function

Achieve Trigger Function Information

To achieve a trigger function information (OID, Parameter, Return Type and DDL, etc)