https://github.com/rodo/pg_ddl_historization
Historize the ddl changes inside PostgreSQL database
https://github.com/rodo/pg_ddl_historization
Last synced: 5 months ago
JSON representation
Historize the ddl changes inside PostgreSQL database
- Host: GitHub
- URL: https://github.com/rodo/pg_ddl_historization
- Owner: rodo
- License: gpl-2.0
- Created: 2024-10-22T14:46:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-03T16:31:47.000Z (over 1 year ago)
- Last Synced: 2024-12-03T17:23:33.744Z (over 1 year ago)
- Language: PLpgSQL
- Size: 60.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: LICENSE
Awesome Lists containing this project
README
PostgreSQL Extension to historize in a table all DDL changes made on a database
# pg_ddl_log_historization
Historize the ddl changes inside PostgreSQL database
## Install
To install the extension, start by defining your connections
parameters in your shell as usual.
If your connection string is well set up, the install is easy as
```
$ make install
```
## Install with pg_tle
If you work with AWS RDS you can deploy the extension with
[pg_tle](https://github.com/aws/pg_tle), to build the file to deploy
it just do :
```
$ make pgtle
```
And execute the file pgtle.ddl_historization-0.3.sql on your instance
## Install with pgxn
```
$ pgxn install ddl_historization
```
## Test
Tests are done using https://pgtap.org/
```
$ make test
```