A PostgreSQL trigger is a function invoked automatically whenever an event e.g., insert, update, or delete occurs. In this section, we will introduce you to PostgreSQL trigger and show how to apply it in your database.
- Introduction to PostgreSQL Trigger – gives you a brief overview of PostgreSQL trigger, why you should use it, and when you can use it.
- Creating the first PostgreSQL Trigger – shows you step by step how to the first trigger in PostgreSQL.
- Managing PostgreSQL Trigger – provides some useful statements to modify, disable, and remove an existing trigger.