Pg-chameleon

Latest version: v2.0.21

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

Scan your dependencies

Page 4 of 5

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.

2.0.1

..........................................................
* Fix for issue 58. Improve the read replica performance by filtering the row images when ``limit_tables/skip_tables`` are set.
* Make the ``read_replica_stream`` method private.
* Fix read replica crash if in alter table a column was defined as ``character varying``

2.0.0

..........................................................
* Add option ``--rollbar-level`` to set the maximum level for the messages to be sent to rollbar. Accepted values: "critical", "error", "warning", "info". The Default is "info".
* Add command ``enable_replica`` used to reset the replica status in case of error or unespected crash
* Add script alias ``chameleon`` along with ``chameleon.py``

2.0.0.rc1

..........................................................
* Fix for issue 52, When adding a unique key the table's creation fails because of the NULLable field
* Add check for the MySQL configuration when initialising or refreshing replicated entities
* Add class rollbar_notifier for simpler message management
* Add end of init_replica,refresh_schema,sync_tables notification to rollbar
* Allow ``--tables disabled`` when syncing the tables to re synchronise all the tables excluded from the replica

2.0.0.beta1

..........................................................
* fix a race condition where an unrelated DDL can cause the collected binlog rows to be added several times to the log_table
* fix regression in write ddl caused by the change of private method
* fix wrong ddl parsing when a column definition is surrounded by parentheses e.g. ``ALTER TABLE foo ADD COLUMN(bar varchar(30));``
* error handling for wrong table names, wrong schema names, wrong source name and wrong commands
* init_replica for source pgsql now can read from an hot standby but the copy is not consistent
* init_replica for source pgsql adds "replicated tables" for better show_status display
* check if the source is registered when running commands that require a source name

Page 4 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.