auditoria
PostgreSQL auditing extension.
auditoria · PostgreSQL auditing extension.
Overview
Usage
Sources:
auditoria — PostgreSQL auditing extension. Use it when implementing the corresponding security, audit, or access-control workflow. Use the pinned upstream revision linked above as the API boundary and test it on the target PostgreSQL build.
Core Workflow
Install the extension in the intended database, run the smallest upstream example above when available, and verify the installed version and returned values before integrating it into application SQL.
Important Objects
auditoria.registrar_actividad(tabla_afectada TEXT, tipo_operacion TEXT, datos_anteriores JSONB, datos_nuevos JSONB)is an extension function and returnsVOID.auditoria.registrar_en_tablas_nuevas()is an extension function and returnsevent_trigger.auditoria.trig_registrar_actividad()is an extension function and returnsTRIGGER.auditoria.registrar_auditoresis an extension procedure.auditoria.registrar_en_todo_ladois an extension procedure.auditoria.registro_auditoriais a table installed or managed by the extension.auditoriais a schema created by the extension.
Requirements and Caveats
- The reviewed control file declares default version
0.0.1. - The control file marks the extension as relocatable.
- Confirm privileges, supported PostgreSQL versions, upgrade behavior, and failure cases against the pinned source before production use.