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