github the4thdoctor/pg_chameleon 1.0-alpha.2

latest releases: v2.0.19, v2.0.18, v2.0.17...
pre-release7 years ago

This is the second alpha release.
The system comes with the following limitations.

Changelog from alpha 1

Several fixes in the DDL replica and add support for CHANGE statement.
Add support for check if process is running already, in order to avoid two replica processes run at the same time.
Port to python 3.6. This is still experimental. Any feedback is more than welcome.

Installation in virtualenv

For working properly you should use virtualenv for installing the requirements via pip

No daemon yet

The script should be executed in a screen session to keep it running. Currently there's no respawning of the process on failure nor failure detector.

psycopg2 requires python and postgresql dev files

The psycopg2's pip installation requires the python development files and postgresql source code.
Please refer to your distribution for fulfilling those requirements.

DDL replica limitations

DDL and DML mixed in the same transaction are not decoded in the right order. This can result in a replica breakage caused by a wrong jsonb descriptor if the DML change the data on the same table modified by the DDL. I know the issue and I'm working on a solution.
Test please!

Please submit the issues you find.
Bear in mind this is an alpha release. if you use the software in production keep an eye on the process to ensure the data is correctly replicated.

Don't miss a new pg_chameleon release

NewReleases is sending notifications on new releases.