pg_auditor

pg_auditor

Audit data changes and provide flashback ability

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
7190
pg_auditor
pg_auditor
0.2
SEC
BSD 3-Clause
SQL
AttributeHas BinaryHas LibraryNeed LoadHas DDLRelocatableTrusted
----d-r
No
No
No
Yes
yes
no
Relationships
See Also
pg_drop_events
table_log
pgaudit
temporal_tables
emaj
pg_savior
pg_upless
pgauditlogtofile

pg15 rpm pkg name is pgaudit17_$v*

Packages

TypeRepoVersionPG Major AvailabilityPackage PatternDependencies
EL
PIGSTY
0.2
18
17
16
15
14
13
pg_auditor_$v-
Debian
PIGSTY
0.2
18
17
16
15
14
13
postgresql-$v-pg-auditor-
Linux / PGPG18PG17PG16PG15PG14PG13
el8.x86_64
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
el8.aarch64
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
el9.x86_64
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
el9.aarch64
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
el10.x86_64
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
el10.aarch64
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
d12.x86_64
MISS
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
d12.aarch64
MISS
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
d13.x86_64
MISS
MISS
MISS
MISS
MISS
MISS
d13.aarch64
MISS
MISS
MISS
MISS
MISS
MISS
u22.x86_64
MISS
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
u22.aarch64
MISS
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
u24.x86_64
MISS
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
u24.aarch64
MISS
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PIGSTY 0.2
PackageVersionOSORGSIZEFile URL
pg_auditor_180.2el8.x86_64pigsty11.0 KiBpg_auditor_18-0.2-1PIGSTY.el8.x86_64.rpm
pg_auditor_180.2el8.aarch64pigsty11.0 KiBpg_auditor_18-0.2-1PIGSTY.el8.aarch64.rpm
pg_auditor_180.2el9.x86_64pigsty10.9 KiBpg_auditor_18-0.2-1PIGSTY.el9.x86_64.rpm
pg_auditor_180.2el9.aarch64pigsty10.9 KiBpg_auditor_18-0.2-1PIGSTY.el9.aarch64.rpm
pg_auditor_180.2el10.x86_64pigsty11.0 KiBpg_auditor_18-0.2-1PIGSTY.el10.x86_64.rpm
pg_auditor_180.2el10.aarch64pigsty10.9 KiBpg_auditor_18-0.2-1PIGSTY.el10.aarch64.rpm
PackageVersionOSORGSIZEFile URL
pg_auditor_170.2el8.x86_64pigsty11.0 KiBpg_auditor_17-0.2-1PIGSTY.el8.x86_64.rpm
pg_auditor_170.2el8.aarch64pigsty11.0 KiBpg_auditor_17-0.2-1PIGSTY.el8.aarch64.rpm
pg_auditor_170.2el9.x86_64pigsty10.9 KiBpg_auditor_17-0.2-1PIGSTY.el9.x86_64.rpm
pg_auditor_170.2el9.aarch64pigsty10.9 KiBpg_auditor_17-0.2-1PIGSTY.el9.aarch64.rpm
pg_auditor_170.2el10.x86_64pigsty11.0 KiBpg_auditor_17-0.2-1PIGSTY.el10.x86_64.rpm
pg_auditor_170.2el10.aarch64pigsty10.9 KiBpg_auditor_17-0.2-1PIGSTY.el10.aarch64.rpm
postgresql-17-pg-auditor0.2d12.x86_64pigsty8.1 KiBpostgresql-17-pg-auditor_0.2-1PIGSTY~bookworm_amd64.deb
postgresql-17-pg-auditor0.2d12.aarch64pigsty8.1 KiBpostgresql-17-pg-auditor_0.2-1PIGSTY~bookworm_arm64.deb
postgresql-17-pg-auditor0.2u22.x86_64pigsty8.0 KiBpostgresql-17-pg-auditor_0.2-1PIGSTY~jammy_amd64.deb
postgresql-17-pg-auditor0.2u22.aarch64pigsty8.0 KiBpostgresql-17-pg-auditor_0.2-1PIGSTY~jammy_arm64.deb
postgresql-17-pg-auditor0.2u24.x86_64pigsty8.0 KiBpostgresql-17-pg-auditor_0.2-1PIGSTY~noble_amd64.deb
postgresql-17-pg-auditor0.2u24.aarch64pigsty8.0 KiBpostgresql-17-pg-auditor_0.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_auditor_160.2el8.x86_64pigsty11.0 KiBpg_auditor_16-0.2-1PIGSTY.el8.x86_64.rpm
pg_auditor_160.2el8.aarch64pigsty11.0 KiBpg_auditor_16-0.2-1PIGSTY.el8.aarch64.rpm
pg_auditor_160.2el9.x86_64pigsty10.9 KiBpg_auditor_16-0.2-1PIGSTY.el9.x86_64.rpm
pg_auditor_160.2el9.aarch64pigsty10.9 KiBpg_auditor_16-0.2-1PIGSTY.el9.aarch64.rpm
pg_auditor_160.2el10.x86_64pigsty11.0 KiBpg_auditor_16-0.2-1PIGSTY.el10.x86_64.rpm
pg_auditor_160.2el10.aarch64pigsty10.9 KiBpg_auditor_16-0.2-1PIGSTY.el10.aarch64.rpm
postgresql-16-pg-auditor0.2d12.x86_64pigsty8.1 KiBpostgresql-16-pg-auditor_0.2-1PIGSTY~bookworm_amd64.deb
postgresql-16-pg-auditor0.2d12.aarch64pigsty8.1 KiBpostgresql-16-pg-auditor_0.2-1PIGSTY~bookworm_arm64.deb
postgresql-16-pg-auditor0.2u22.x86_64pigsty8.0 KiBpostgresql-16-pg-auditor_0.2-1PIGSTY~jammy_amd64.deb
postgresql-16-pg-auditor0.2u22.aarch64pigsty8.0 KiBpostgresql-16-pg-auditor_0.2-1PIGSTY~jammy_arm64.deb
postgresql-16-pg-auditor0.2u24.x86_64pigsty8.0 KiBpostgresql-16-pg-auditor_0.2-1PIGSTY~noble_amd64.deb
postgresql-16-pg-auditor0.2u24.aarch64pigsty8.0 KiBpostgresql-16-pg-auditor_0.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_auditor_150.2el8.x86_64pigsty11.0 KiBpg_auditor_15-0.2-1PIGSTY.el8.x86_64.rpm
pg_auditor_150.2el8.aarch64pigsty11.0 KiBpg_auditor_15-0.2-1PIGSTY.el8.aarch64.rpm
pg_auditor_150.2el9.x86_64pigsty10.9 KiBpg_auditor_15-0.2-1PIGSTY.el9.x86_64.rpm
pg_auditor_150.2el9.aarch64pigsty10.9 KiBpg_auditor_15-0.2-1PIGSTY.el9.aarch64.rpm
pg_auditor_150.2el10.x86_64pigsty11.0 KiBpg_auditor_15-0.2-1PIGSTY.el10.x86_64.rpm
pg_auditor_150.2el10.aarch64pigsty10.9 KiBpg_auditor_15-0.2-1PIGSTY.el10.aarch64.rpm
postgresql-15-pg-auditor0.2d12.x86_64pigsty8.1 KiBpostgresql-15-pg-auditor_0.2-1PIGSTY~bookworm_amd64.deb
postgresql-15-pg-auditor0.2d12.aarch64pigsty8.1 KiBpostgresql-15-pg-auditor_0.2-1PIGSTY~bookworm_arm64.deb
postgresql-15-pg-auditor0.2u22.x86_64pigsty8.0 KiBpostgresql-15-pg-auditor_0.2-1PIGSTY~jammy_amd64.deb
postgresql-15-pg-auditor0.2u22.aarch64pigsty8.0 KiBpostgresql-15-pg-auditor_0.2-1PIGSTY~jammy_arm64.deb
postgresql-15-pg-auditor0.2u24.x86_64pigsty8.0 KiBpostgresql-15-pg-auditor_0.2-1PIGSTY~noble_amd64.deb
postgresql-15-pg-auditor0.2u24.aarch64pigsty8.0 KiBpostgresql-15-pg-auditor_0.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_auditor_140.2el8.x86_64pigsty11.0 KiBpg_auditor_14-0.2-1PIGSTY.el8.x86_64.rpm
pg_auditor_140.2el8.aarch64pigsty11.0 KiBpg_auditor_14-0.2-1PIGSTY.el8.aarch64.rpm
pg_auditor_140.2el9.x86_64pigsty10.9 KiBpg_auditor_14-0.2-1PIGSTY.el9.x86_64.rpm
pg_auditor_140.2el9.aarch64pigsty10.9 KiBpg_auditor_14-0.2-1PIGSTY.el9.aarch64.rpm
pg_auditor_140.2el10.x86_64pigsty11.0 KiBpg_auditor_14-0.2-1PIGSTY.el10.x86_64.rpm
pg_auditor_140.2el10.aarch64pigsty10.9 KiBpg_auditor_14-0.2-1PIGSTY.el10.aarch64.rpm
postgresql-14-pg-auditor0.2d12.x86_64pigsty8.1 KiBpostgresql-14-pg-auditor_0.2-1PIGSTY~bookworm_amd64.deb
postgresql-14-pg-auditor0.2d12.aarch64pigsty8.1 KiBpostgresql-14-pg-auditor_0.2-1PIGSTY~bookworm_arm64.deb
postgresql-14-pg-auditor0.2u22.x86_64pigsty8.0 KiBpostgresql-14-pg-auditor_0.2-1PIGSTY~jammy_amd64.deb
postgresql-14-pg-auditor0.2u22.aarch64pigsty8.0 KiBpostgresql-14-pg-auditor_0.2-1PIGSTY~jammy_arm64.deb
postgresql-14-pg-auditor0.2u24.x86_64pigsty8.0 KiBpostgresql-14-pg-auditor_0.2-1PIGSTY~noble_amd64.deb
postgresql-14-pg-auditor0.2u24.aarch64pigsty8.0 KiBpostgresql-14-pg-auditor_0.2-1PIGSTY~noble_arm64.deb
PackageVersionOSORGSIZEFile URL
pg_auditor_130.2el8.x86_64pigsty11.0 KiBpg_auditor_13-0.2-1PIGSTY.el8.x86_64.rpm
pg_auditor_130.2el8.aarch64pigsty11.0 KiBpg_auditor_13-0.2-1PIGSTY.el8.aarch64.rpm
pg_auditor_130.2el9.x86_64pigsty10.9 KiBpg_auditor_13-0.2-1PIGSTY.el9.x86_64.rpm
pg_auditor_130.2el9.aarch64pigsty10.9 KiBpg_auditor_13-0.2-1PIGSTY.el9.aarch64.rpm
pg_auditor_130.2el10.x86_64pigsty11.0 KiBpg_auditor_13-0.2-1PIGSTY.el10.x86_64.rpm
pg_auditor_130.2el10.aarch64pigsty10.9 KiBpg_auditor_13-0.2-1PIGSTY.el10.aarch64.rpm
postgresql-13-pg-auditor0.2d12.x86_64pigsty8.1 KiBpostgresql-13-pg-auditor_0.2-1PIGSTY~bookworm_amd64.deb
postgresql-13-pg-auditor0.2d12.aarch64pigsty8.1 KiBpostgresql-13-pg-auditor_0.2-1PIGSTY~bookworm_arm64.deb
postgresql-13-pg-auditor0.2u22.x86_64pigsty8.0 KiBpostgresql-13-pg-auditor_0.2-1PIGSTY~jammy_amd64.deb
postgresql-13-pg-auditor0.2u22.aarch64pigsty8.0 KiBpostgresql-13-pg-auditor_0.2-1PIGSTY~jammy_arm64.deb
postgresql-13-pg-auditor0.2u24.x86_64pigsty8.0 KiBpostgresql-13-pg-auditor_0.2-1PIGSTY~noble_amd64.deb
postgresql-13-pg-auditor0.2u24.aarch64pigsty8.0 KiBpostgresql-13-pg-auditor_0.2-1PIGSTY~noble_arm64.deb

Source

pig build get pg_auditor; # get pg_auditor source code
pig build dep pg_auditor; # install build dependencies
pig build pkg pg_auditor; # build extension rpm or deb
pig build ext pg_auditor; # build extension rpms

Install

To add the required PGDG / PIGSTY upstream repository, use:

pig repo add pgsql -u   # add PGDG + Pigsty repo and update cache (leave existing repos)

Install this extension with:

pig ext install pg_auditor; # install by extension name, for the current active PG version
pig ext install pg_auditor; # install via package alias, for the active PG version
pig ext install pg_auditor -v 18;   # install for PG 18
pig ext install pg_auditor -v 17;   # install for PG 17
pig ext install pg_auditor -v 16;   # install for PG 16
pig ext install pg_auditor -v 15;   # install for PG 15
pig ext install pg_auditor -v 14;   # install for PG 14
pig ext install pg_auditor -v 13;   # install for PG 13

Create this extension with:

CREATE EXTENSION pg_auditor;
Last updated on