Skip to content

Commit

Permalink
Setup the new 2.2.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
beaud76 committed Dec 26, 2017
1 parent 45256fc commit a060ac7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ E-Maj - Change log
==================
<NEXT_VERSION>
------
###Enhancements:###


###Bug fixes:###



2.2.1 (2017-Dec-26)
------
###Enhancements:###
* When a table is removed from a tables group in LOGGING state, its log
table is renamed with a _1 suffix added to its name.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--
-- E-Maj: migration from 2.2.0 to <NEXT_VERSION>
-- E-Maj: migration from 2.2.0 to 2.2.1
--
-- This software is distributed under the GNU General Public License.
--
Expand Down Expand Up @@ -239,10 +239,10 @@ INSERT INTO pg_catalog.pg_description (objoid, classoid, objsubid, description)
);

-- update the version id in the emaj_param table
UPDATE emaj.emaj_param SET param_value_text = '<NEXT_VERSION>' WHERE param_key = 'emaj_version';
UPDATE emaj.emaj_param SET param_value_text = '2.2.1' WHERE param_key = 'emaj_version';

-- insert the upgrade record in the operation history
INSERT INTO emaj.emaj_hist (hist_function, hist_object, hist_wording) VALUES ('EMAJ_INSTALL','E-Maj <NEXT_VERSION>', 'Upgrade from 2.2.0 completed');
INSERT INTO emaj.emaj_hist (hist_function, hist_object, hist_wording) VALUES ('EMAJ_INSTALL','E-Maj 2.2.1', 'Upgrade from 2.2.0 completed');

-- post installation checks
DO
Expand Down
3 changes: 3 additions & 0 deletions sql/emaj--2.2.1--next_version.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--
-- E-Maj: migration from 2.2.1 to <NEXT_VERSION>
--

0 comments on commit a060ac7

Please sign in to comment.