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 4 of 5

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

2.0.0.alpha3

..........................................................
* Remove limit_tables from binlogreader initialisation, as we can read from multiple schemas we should only exclude the tables not limit
* Fix wrong formatting for default value when altering a field
* Add upgrade procedure from version 1.8.2 to 2.0
* Improve error logging and table exclusion in replay function
* Add stack trace capture to the rollbar and log message when one of the replica daemon crash
* Add ``on_error_replay`` to set whether the replay process should skip the tables or exit on error
* Add init_replica support for source type pgsql (EXPERIMENTAL)

2.0.0.alpha2

..........................................................
* Fix wrong position when determining the destination schema in read_replica_stream
* Fix wrong log position stored in the source's high watermark
* Fix wrong table inclusion/exclusion in read_replica_steam
* Add source parameter ``replay_max_rows`` to set the amount of rows to replay. Previously the value was set by ``replica_batch_size``
* Fix crash when an alter table affected a table not replicated
* Fixed issue with alter table during the drop/set default for the column (thanks to psycopg2's sql.Identifier)
* add type display to source status
* Add fix for issue 33 cleanup NUL markers from the rows before trying to insert them in PostgreSQL
* Fix broken save_discarded_row
* Add more detail to show_status when specifying the source with --source
* Changed some methods to private
* ensure the match for the alter table's commands are enclosed by word boundaries
* add if exists when trying to drop the table in swap tables. previously adding a new table failed because the table wasn't there
* fix wrong drop enum type when adding a new field
* add log error for storing the errors generated during the replay
* add not functional class pgsql_source for source type pgsql
* allow ``type_override`` to be empty
* add show_status command for displaying the log error entries
* add separate logs for per source
* change log line formatting inspired by the super clean look in pgbackrest (thanks you guys)

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.