ddl_historization
Overview
| Package | Version | Category | License | Language |
|---|---|---|---|---|
ddl_historization | 0.2 | UTIL | GPL-2.0 | SQL |
| ID | Extension | Bin | Lib | Load | Create | Trust | Reloc | Schema |
|---|---|---|---|---|---|---|---|---|
| 4310 | ddl_historization | No | No | No | Yes | No | No | - |
| Related | plpgsql pgmemento table_log data_historization table_version pgaudit periods temporal_tables emaj provsql pgmnemo |
|---|---|
| Depended By | schedoc |
Version
| Type | Repo | Version | PG Ver | Package | Deps |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.2 | 1817161514 | ddl_historization | plpgsql |
| RPM | PIGSTY | 0.2 | 1817161514 | ddl_historization_$v | - |
| DEB | PIGSTY | 0.2 | 1817161514 | postgresql-$v-ddl-historization | - |
Build
You can build the RPM / DEB packages for ddl_historization using pig build:
Install
You can install ddl_historization directly. First, make sure the PGDG and PIGSTY repositories are added and enabled:
Install the extension using pig or apt/yum/dnf:
Create Extension:
Usage
ddl_historization is a PostgreSQL extension that records database DDL changes in a historization table. The upstream README documents installation via make install, pgxn install ddl_historization, and an AWS RDS path via pg_tle.
Enable logging
The README describes the extension as using PostgreSQL event triggers to historize DDL changes made in the database.
What upstream currently documents
- Cluster-local install:
make install - PGXN install:
pgxn install ddl_historization - AWS RDS /
pg_tle: buildpgtle.ddl_historization-0.3.sqlwithmake pgtle - Test suite:
make testwith pgTAP
Release notes worth knowing
- Release
0.2is the version requested by this refresh task. - Release
0.0.4says it added functions to start and stop logging. - Release
0.0.6says it added addl_history_columntable. - Release
0.0.7says it fixed a foreign-key related logging bug.
Caveat
The current upstream README is minimal and does not document the exact SQL signatures for the start/stop logging functions or the schema of the historization tables added in later releases. Keep this stub conservative unless the upstream README or release notes become more explicit.
Was this page helpful?
Thanks—your feedback helps us improve this page.
What got in the way? (optional)