From 37d66d2e7b15b7006b2fb727553990ebff043ecc Mon Sep 17 00:00:00 2001 From: Federico Campoli Date: Sat, 25 Nov 2017 11:52:35 +0000 Subject: [PATCH] stamp ver1.8.2 --- CHANGELOG.rst | 3 ++- RELEASE_NOTES.rst | 12 +++++++----- docs/conf.py | 2 +- pg_chameleon/lib/pg_lib.py | 2 +- setup.py | 2 +- 5 files changed, 12 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index faafd2bd..36b65bfe 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,11 +1,12 @@ changelog ************************* -1.8.2 XX Nov 2017 +1.8.2 25 Nov 2017 ............................. * Fix for issue 33, pg can't handle NUL characters in string `Issue #33 `_ * Fix exception in b64 conversion when saving a discarded row * Add t_source_schema in table t_sources, used for the upgrade to the upcoming version 2.0 * change log line formatting inspired by the super clean look in pgbackrest (thanks you guys) +* Update ``show_status`` to display the source schema 1.8.1 04 Nov 2017 ............................. diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 137c86e9..90b4e232 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -2,11 +2,13 @@ RELEASE NOTES ************************* Version 1.8.2 -------------------------- -The version 1.8.2 is the bugfix for the final release 1.8 of the version 1. -Not many bugfixes, mostly backports from the version 2.0, currently in alpha release. -This release upgrades the replica catalogue to the version 1.7 which adds a new field to the ``t_sources`` table. -This field ``t_source_schema`` is used only for the migration to the version 2.0.0 and is updated every time a sourceid is requested -from the classpg_engine. +The version 1.8.2 is the bugfix for the final release 1.8 for the branch v1. +There are few bugfixes, ans some backports from the version 2.0, which is currently in alpha. + +This release upgrades the replica catalogue to the version 1.7, adding a new field ``t_source_schema`` to the table ``t_sources`` . +The field is used only for the migration to the version 2.0.0 and is updated every time a sourceid is requested from the class ``pg_engine``. + +The show_version command now displays the source schema as well. Version 1.8.1 -------------------------- diff --git a/docs/conf.py b/docs/conf.py index c4a098e9..79ad7e8a 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -67,7 +67,7 @@ # The short X.Y version. version = u'1.8' # The full version, including alpha/beta/rc tags. -release = u'v1.8.1' +release = u'v1.8.2' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/pg_chameleon/lib/pg_lib.py b/pg_chameleon/lib/pg_lib.py index 6977f042..64815ccf 100644 --- a/pg_chameleon/lib/pg_lib.py +++ b/pg_chameleon/lib/pg_lib.py @@ -799,7 +799,7 @@ def get_status(self): ts_last_received, ts_last_received-ts_last_replay, ts_last_replay, - t_source_schema + coalesce(t_source_schema,'') FROM sch_chameleon.t_sources ORDER BY diff --git a/setup.py b/setup.py index d3c4394b..8e2e9683 100644 --- a/setup.py +++ b/setup.py @@ -37,7 +37,7 @@ setup( name="pg_chameleon", - version="v1.8.1", + version="v1.8.2", description="MySQL to PostgreSQL replica and migration", long_description=""" pg_chameleon is a tool for replicating from MySQL to PostgreSQL compatible with Python 2.7 and Python 3.3+. The system use the library mysql-replication to pull the row images from MySQL which are transformed into a jsonb object.