Pg-chameleon

Latest version: v2.0.19

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 5

2.0.7

..........................................................
* Fix for issue 71, make the multiprocess logging safe. Now each replica process logs in a separate file
* Fix the ``--full`` option to store true instead of false. Previously the option had no effect.
* Add `auto_maintenance` optional parameter to trigger a vacuum over the log tables after a specific timeout
* Fix for issue 75, avoid the wrong conversion to string for None keys when cleaning up malformed rows during the init replica and replica process
* Fix for issue 73, fix for wrong data type tokenisation when an alter table adds a column with options (e.g. ``ADD COLUMN foo DEFAULT NULL``)
* Fix wrong TRUNCATE TABLE tokenisation if the statement specifies the table with the schema.

2.0.6

..........................................................
* fix for issue 69 add source's optional parameter ``on_error_read:`` to allow the read process to continue in case of connection issues with the source database (e.g. MySQL in maintenance)
* remove the detach partition during the maintenance process as this proved to be a very fragile approach
* add switch ``--full`` to run a ``VACUUM FULL`` during the maintenance
* when running the maintentenance execute a ``VACUUM`` instead of a ``VACUUM FULL``
* fix for issue 68. fallback to ``binlog_row_image=FULL`` if the parameter is missing in mysql 5.5.
* add cleanup for default value ``NOW()`` when adding a new column with ``ALTER TABLE``
* allow ``enable_replica`` to reset the source status in the case of a catalogue version mismatch

2.0.5

..........................................................
* fix wrong exclusion when running sync_tables with limit_tables set
* add `run_maintenance` command to perform a VACUUM FULL on the source's log tables
* add `stop_all_replicas` command to stop all the running sources within the target postgresql database

2.0.4

..........................................................
* Fix regression added in 2.0.3 when handling MODIFY DDL
* Improved handling of dropped columns during the replica

2.0.3

..........................................................

* fix regression added by commit 8c09ccb. when ALTER TABLE ADD COLUMN is in the form datatype DEFAULT (NOT) NULL the parser captures two words instead of one
* Improve the speed of the cleanup on startup deleting only for the source's log tables instead of the parent table
* fix for issue 63. change the field i_binlog_position to bigint in order to avoid an integer overflow error when the binlog is largher than 2 GB.
* change to psycopg2-binary in install_requires. This change will ensure the psycopg2 will install using the wheel package when available.
* add upgrade_catalogue_v20 for minor schema upgrades

2.0.2

..........................................................
* Fix for issue 61, missing post replay cleanup for processed batches.
* add private method ``_swap_enums`` to the class ``pg_engine`` which moves the enumerated types from the loading to the destination schema.

Page 3 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.