October 2020
Beginner
650 pages
13h 25m
English
In the previous chapter, we talked about server-side programming. In this chapter, we will use the concepts introduced in the previous chapter to manage the programming of events in PostgreSQL. The first thing we need to address is what an event in PostgreSQL actually is. In PostgreSQL, possible events are given by the SELECT/INSERT/UPDATE, and DELETE statements. There are also events related to data definition language (DDL) operations; we will talk about those events in Chapter 17, Event Triggers.
In PostgreSQL, there are two ways to handle events:
In this chapter, we will explore both of these ways and address when it is more appropriate to use one of them rather than the other. As a starting point, ...
Read now
Unlock full access