ddl_historization
ddl_historization : Historize the ddl changes inside PostgreSQL database
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 4310 | ddl_historization | ddl_historization | 0.2 |
UTIL | GPL-2.0 | SQL |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| ----d-- | No | No | No | Yes | no | no |
| Relationships | |
|---|---|
| Requires | plpgsql |
| Need By | schedoc |
| See Also | pgmemento table_log data_historization table_version pgaudit periods temporal_tables emaj provsql pgmnemo |
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 0.2 |
18 17 16 15 14 | ddl_historization |
plpgsql |
| RPM | PIGSTY | 0.2 |
18 17 16 15 14 | ddl_historization_$v |
- |
| DEB | PIGSTY | 0.2 |
18 17 16 15 14 | postgresql-$v-ddl-historization |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | 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 |
| el9.x86_64 | 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 |
| el10.x86_64 | 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 |
| d12.x86_64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| d12.aarch64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| d13.x86_64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| d13.aarch64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| u22.x86_64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| u22.aarch64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| u24.x86_64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| u24.aarch64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| u26.x86_64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
| u26.aarch64 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 | PIGSTY 0.2 |
Source
github.com/rodo/pg_ddl_historization
pg_ddl_historization-0.2.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
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.