Skip to content

Commit

Permalink
stamp 2.0.18
Browse files Browse the repository at this point in the history
  • Loading branch information
the4thdoctor committed Mar 31, 2022
1 parent 460a730 commit 72eb336
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ changelog
..........................................................
* Support the ON DELETE and ON UPDATE clause when creating the foreign keys in PostgreSQL
* change logic for index and foreign key names by managing only duplicates within same schema
* use mysql-replication<0.26 as new versions crash when receiving queries
* use mysql-replication<0.27 as new versions crash when receiving queries
* add copy_schema method for copying only the schema without data (EXPERIMENTAL)
* change type for identifiers in replica schema to varchar(64)

Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and `copy_schema`.
When running `init_replica` or `copy_schema` the names for the indices and foreign keys are preserved.
Only if there is any duplicate name then pg_chameleon will ensure that the names on PostgreSQL are unique within the same schema.

Adds a workaround for a regression introduced in **mysql-replication** by forcing the version to be lesser than 0.26.
Adds a workaround for a regression introduced in **mysql-replication** by forcing the version to be lesser than 0.27.


Change the data type for the identifiers stored into the replica schema to varchar(64)
Expand Down
2 changes: 1 addition & 1 deletion docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ Command line reference
``add_source``, Adds a new source to the replica catalogue, ``--config`` ``--source``
``drop_source``, Remove an existing source from the replica catalogue, ``--config`` ``--source``
``init_replica``, Initialise the replica for an existing source , ``--config`` ``--source``
``copy_schema``, Copy only the schema from mysql to PostgreSQL., ``--config`` ``--source``
``update_schema_mappings``,Update the schema mappings stored in the replica catalogue using the data from the configuration file. , ``--config`` ``--source``
``refresh_schema``, Synchronise all the tables for a given schema within an already initialised source. , ``--config`` ``--source`` ``--schema``
``sync_tables``, Synchronise one or more tables within an already initialised source. The switch ``--tables`` accepts the special name ``disabled`` to resync all the tables with replica disabled., ``--config`` ``--source`` ``--tables``
Expand All @@ -45,7 +46,6 @@ Command line reference
``enable_replica``, Enables the replica for the given source changing the source status to stopped. It's useful if the replica crashes., ``--config`` ``--source``
``run_maintenance``, Runs a VACUUM on the log tables for the given source. If is specified then the maintenance runs a VACUUM FULL, ``--config`` ``--source`` ``--full``
``stop_all_replicas``, Stops all the running sources within the target postgresql database., ``--config``
``copy_schema``, Stops all the running sources within the target postgresql database., ``--config``


Example
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def readme():

setup(
name="pg_chameleon",
version="2.0.17",
version="2.0.18",
description="MySQL to PostgreSQL replica and migration",
long_description=readme(),
author = "Federico Campoli",
Expand Down

0 comments on commit 72eb336

Please sign in to comment.