Skip to content

Commit

Permalink
When altering groups, split the ATTRIBUTE_TBL action and its related …
Browse files Browse the repository at this point in the history
…function into 4 new actions and functions in order to get more accurate warning messages into the rollback operation report. The old message was too generic. Now the emaj_hist table contains the elementary data allowing to precisely understand the changes performed when altering a group.
  • Loading branch information
beaud76 committed Jun 1, 2017
1 parent e34eaaf commit 5db7257
Show file tree
Hide file tree
Showing 25 changed files with 6,333 additions and 6,058 deletions.
44 changes: 25 additions & 19 deletions docs/en/traces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,25 +115,31 @@ The *hist_function* column can take the following values:

The *hist_event* column can take the following values:

+-------------------------+--------------------------+
| Value | Meaning |
+=========================+==========================+
| BEGIN | |
+-------------------------+--------------------------+
| END | |
+-------------------------+--------------------------+
| EVENT TRIGGERS DISABLED | |
+-------------------------+--------------------------+
| EVENT TRIGGERS ENABLED | |
+-------------------------+--------------------------+
| MARK DELETED | |
+-------------------------+--------------------------+
| SCHEMA CREATED | secondary schema created |
+-------------------------+--------------------------+
| SCHEMA DROPPED | secondary schema dropped |
+-------------------------+--------------------------+
| TABLE ATTR CHANGED | E-Maj attributes changed |
+-------------------------+--------------------------+
+------------------------------+-----------------------------------------+
| Value | Meaning |
+==============================+=========================================+
| BEGIN | |
+------------------------------+-----------------------------------------+
| END | |
+------------------------------+-----------------------------------------+
| EVENT TRIGGERS DISABLED | |
+------------------------------+-----------------------------------------+
| EVENT TRIGGERS ENABLED | |
+------------------------------+-----------------------------------------+
| MARK DELETED | |
+------------------------------+-----------------------------------------+
| SCHEMA CREATED | secondary schema created |
+------------------------------+-----------------------------------------+
| SCHEMA DROPPED | secondary schema dropped |
+------------------------------+-----------------------------------------+
| LOG SCHEMA CHANGED | |
+------------------------------+-----------------------------------------+
| NAMES PREFIX CHANGED | E-Maj names prefix modified |
+------------------------------+-----------------------------------------+
| LOG DATA TABLESPACE CHANGED | Tablespace for the log table modified |
+------------------------------+-----------------------------------------+
| LOG INDEX TABLESPACE CHANGED | Tablespace for the log index modified |
+------------------------------+-----------------------------------------+

The *emaj_hist* content can be viewed by anyone who has the proper access rights on this table (*superuser*, *emaj_adm* or *emaj_viewer* roles).

Expand Down
46 changes: 27 additions & 19 deletions docs/fr/traces.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,25 +115,33 @@ La colonne *hist_function* peut prendre les valeurs suivantes.

La colonne *hist_event* peut prendre les valeurs suivantes.

+-------------------------+----------------------------------------+
| Valeur | Signification |
+=========================+========================================+
| BEGIN | début |
+-------------------------+----------------------------------------+
| END | fin |
+-------------------------+----------------------------------------+
| EVENT TRIGGERS DISABLED | triggers sur événements désactivés |
+-------------------------+----------------------------------------+
| EVENT TRIGGERS ENABLED | triggers sur événements activés |
+-------------------------+----------------------------------------+
| MARK DELETED | marque supprimée |
+-------------------------+----------------------------------------+
| SCHEMA CREATED | schéma secondaire créé |
+-------------------------+----------------------------------------+
| SCHEMA DROPPED | schéma secondaire supprimé |
+-------------------------+----------------------------------------+
| TABLE ATTR CHANGED | attributs E-Maj pour la table modifiés |
+-------------------------+----------------------------------------+
+------------------------------+-----------------------------------------+
| Valeur | Signification |
+==============================+=========================================+
| BEGIN | début |
+------------------------------+-----------------------------------------+
| END | fin |
+------------------------------+-----------------------------------------+
| EVENT TRIGGERS DISABLED | triggers sur événements désactivés |
+------------------------------+-----------------------------------------+
| EVENT TRIGGERS ENABLED | triggers sur événements activés |
+------------------------------+-----------------------------------------+
| MARK DELETED | marque supprimée |
+------------------------------+-----------------------------------------+
| SCHEMA CREATED | schéma secondaire créé |
+------------------------------+-----------------------------------------+
| SCHEMA DROPPED | schéma secondaire supprimé |
+------------------------------+-----------------------------------------+
| TABLE ATTR CHANGED | attributs E-Maj pour la table modifiés |
+------------------------------+-----------------------------------------+
| LOG SCHEMA CHANGED | Schéma de log modifié |
+------------------------------+-----------------------------------------+
| NAMES PREFIX CHANGED | Préfixe des noms E-Maj modifié |
+------------------------------+-----------------------------------------+
| LOG DATA TABLESPACE CHANGED | Tablespace pour la table de log modifié |
+------------------------------+-----------------------------------------+
| LOG INDEX TABLESPACE CHANGED | Tablespace pour l’index de log modifié |
+------------------------------+-----------------------------------------+

Le contenu de la table *emaj_hist* peut être visualisé par quiconque dispose des autorisations suffisantes (rôles super-utilisateur, *emaj_adm* ou *emaj_viewer*)

Expand Down

0 comments on commit 5db7257

Please sign in to comment.