Building audit logging in Postgres without triggers
The article describes how to implement automatic contextual audit logging for clinical trial data in PostgreSQL without using database triggers. It presents an approach using application-level logging, session-level context variables, and a centralized function to capture who changed what, when, and why, ensuring compliance and traceability for regulated environments.