Sometimes we want to have a copy of a table and know when everything happened to the original table, insert, update, delete, and truncate. This is possible to have happen automatically with a trigger function.
In these first slides, I will give you the basic function that I have given you before.
Then in the next set of slides, I will show you how to write a generic shadow function that can write multiple shadow tables.