pg_auditor

Audit data changes and provide flashback ability

Overview

PIGSTY 3rd Party Extension: pg_auditor : Audit data changes and provide flashback ability

Information

Metadata

  • Latest Version: 0.2
  • Postgres Support: 17,16,15,14,13
  • Need Load: Shared library do not need explicit loading
  • Need DDL: Need CREATE EXTENSION DDL
  • Relocatable: Can not install to arbitrary schema
  • Trusted: Unknown
  • Schemas: N/A
  • Requires: N/A

RPM / DEB

  • RPM Repo: PIGSTY
  • RPM Name: pg_auditor_$v
  • RPM Ver : 0.2
  • RPM Deps: N/A
  • DEB Repo: PIGSTY
  • DEB Name: postgresql-$v-pg-auditor
  • DEB Ver : 0.2
  • DEB Deps: N/A

Packages

OS Arch PG17 PG16 PG15 PG14 PG13
el8 x86_64 pg_auditor_17
PIGSTY 0.2
pg_auditor_16
PIGSTY 0.2
pg_auditor_15
PIGSTY 0.2
pg_auditor_14
PIGSTY 0.2
pg_auditor_13
PIGSTY 0.2
el8 aarch64 pg_auditor_17
PIGSTY 0.2
pg_auditor_16
PIGSTY 0.2
pg_auditor_15
PIGSTY 0.2
pg_auditor_14
PIGSTY 0.2
pg_auditor_13
PIGSTY 0.2
el9 x86_64 pg_auditor_17
PIGSTY 0.2
pg_auditor_16
PIGSTY 0.2
pg_auditor_15
PIGSTY 0.2
pg_auditor_14
PIGSTY 0.2
pg_auditor_13
PIGSTY 0.2
el9 aarch64 pg_auditor_17
PIGSTY 0.2
pg_auditor_16
PIGSTY 0.2
pg_auditor_15
PIGSTY 0.2
pg_auditor_14
PIGSTY 0.2
pg_auditor_13
PIGSTY 0.2
d12 x86_64 postgresql-17-pg-auditor
PIGSTY 0.2
postgresql-16-pg-auditor
PIGSTY 0.2
postgresql-15-pg-auditor
PIGSTY 0.2
postgresql-14-pg-auditor
PIGSTY 0.2
postgresql-13-pg-auditor
PIGSTY 0.2
d12 aarch64 postgresql-17-pg-auditor
PIGSTY 0.2
postgresql-16-pg-auditor
PIGSTY 0.2
postgresql-15-pg-auditor
PIGSTY 0.2
postgresql-14-pg-auditor
PIGSTY 0.2
postgresql-13-pg-auditor
PIGSTY 0.2
u22 x86_64 postgresql-17-pg-auditor
PIGSTY 0.2
postgresql-16-pg-auditor
PIGSTY 0.2
postgresql-15-pg-auditor
PIGSTY 0.2
postgresql-14-pg-auditor
PIGSTY 0.2
postgresql-13-pg-auditor
PIGSTY 0.2
u22 aarch64 postgresql-17-pg-auditor
PIGSTY 0.2
postgresql-16-pg-auditor
PIGSTY 0.2
postgresql-15-pg-auditor
PIGSTY 0.2
postgresql-14-pg-auditor
PIGSTY 0.2
postgresql-13-pg-auditor
PIGSTY 0.2
u24 x86_64 postgresql-17-pg-auditor
PIGSTY 0.2
postgresql-16-pg-auditor
PIGSTY 0.2
postgresql-15-pg-auditor
PIGSTY 0.2
postgresql-14-pg-auditor
PIGSTY 0.2
postgresql-13-pg-auditor
PIGSTY 0.2
u24 aarch64 postgresql-17-pg-auditor
PIGSTY 0.2
postgresql-16-pg-auditor
PIGSTY 0.2
postgresql-15-pg-auditor
PIGSTY 0.2
postgresql-14-pg-auditor
PIGSTY 0.2
postgresql-13-pg-auditor
PIGSTY 0.2

Installation

Install pg_auditor via the pig CLI tool:

pig ext install pg_auditor

Install pg_auditor via Pigsty playbook:

./pgsql.yml -t pg_extension -e '{"pg_extensions": ["pg_auditor"]}' # -l <cls>

Install pg_auditor RPM from YUM repo directly:

dnf install pg_auditor_17;
dnf install pg_auditor_16;
dnf install pg_auditor_15;
dnf install pg_auditor_14;
dnf install pg_auditor_13;

Install pg_auditor DEB from APT repo directly:

apt install postgresql-17-pg-auditor;
apt install postgresql-16-pg-auditor;
apt install postgresql-15-pg-auditor;
apt install postgresql-14-pg-auditor;
apt install postgresql-13-pg-auditor;

Enable pg_auditor extension on PostgreSQL cluster:

CREATE EXTENSION pg_auditor;




Last modified 2025-02-17: add extension part (cfa504b)