Example 42.4. A PL/pgSQL Trigger Procedure For Auditing This example trigger ensures that any insert, update or delete of a row in the emp table is recorded (i.e., audited) in the emp_audit table. The ...
Example 43.4. A PL/pgSQL Trigger Function For Auditing This example trigger ensures that any insert, update or delete of a row in the emp table is recorded (i.e., audited) in the emp_audit table. The ...