Skip to content

Commit

Permalink
Minor comments adjustment.
Browse files Browse the repository at this point in the history
  • Loading branch information
beaud76 committed Mar 25, 2023
1 parent b6ce864 commit 7ab5e7e
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 4 deletions.
2 changes: 1 addition & 1 deletion sql/emaj--4.1.0--devel.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2368,7 +2368,7 @@ $_rlbk_planning$
WHERE emaj._log_stat_tbl(t, greatest(v_markTimeId, lower(rel_time_range)), NULL) > 0;
GET DIAGNOSTICS v_effNbTable = ROW_COUNT;
-- For tables having all foreign keys linking tables in the rolled back groups, set the rlbp_is_repl_role_replica flag to TRUE.
-- This only concerns emaj installed as an extension because one needs to be sure that the the _rlbk_tbl() function is executed with a
-- This only concerns emaj installed as an extension because one needs to be sure that the _rlbk_tbl() function is executed with a
-- superuser role (this is needed to set the session_replication_role to 'replica').
v_isEmajExtension = EXISTS (SELECT 1 FROM pg_catalog.pg_extension WHERE extname = 'emaj');
IF v_isEmajExtension AND v_effNbTable > 0 THEN
Expand Down
2 changes: 1 addition & 1 deletion sql/emaj--devel.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8234,7 +8234,7 @@ $_rlbk_planning$
WHERE emaj._log_stat_tbl(t, greatest(v_markTimeId, lower(rel_time_range)), NULL) > 0;
GET DIAGNOSTICS v_effNbTable = ROW_COUNT;
-- For tables having all foreign keys linking tables in the rolled back groups, set the rlbp_is_repl_role_replica flag to TRUE.
-- This only concerns emaj installed as an extension because one needs to be sure that the the _rlbk_tbl() function is executed with a
-- This only concerns emaj installed as an extension because one needs to be sure that the _rlbk_tbl() function is executed with a
-- superuser role (this is needed to set the session_replication_role to 'replica').
v_isEmajExtension = EXISTS (SELECT 1 FROM pg_catalog.pg_extension WHERE extname = 'emaj');
IF v_isEmajExtension AND v_effNbTable > 0 THEN
Expand Down
2 changes: 1 addition & 1 deletion sql/emaj-devel.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8241,7 +8241,7 @@ $_rlbk_planning$
WHERE emaj._log_stat_tbl(t, greatest(v_markTimeId, lower(rel_time_range)), NULL) > 0;
GET DIAGNOSTICS v_effNbTable = ROW_COUNT;
-- For tables having all foreign keys linking tables in the rolled back groups, set the rlbp_is_repl_role_replica flag to TRUE.
-- This only concerns emaj installed as an extension because one needs to be sure that the the _rlbk_tbl() function is executed with a
-- This only concerns emaj installed as an extension because one needs to be sure that the _rlbk_tbl() function is executed with a
-- superuser role (this is needed to set the session_replication_role to 'replica').
v_isEmajExtension = EXISTS (SELECT 1 FROM pg_catalog.pg_extension WHERE extname = 'emaj');
IF v_isEmajExtension AND v_effNbTable > 0 THEN
Expand Down
3 changes: 3 additions & 0 deletions test/11/expected/misc.out
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,9 @@ select public.handle_emaj_sequences(5200);

-----------------------------
-- emaj_estimate_rollback_group() and emaj_estimate_rollback_groups() tests
--
-- When emaj is not created as an extension - i.e. is created with the psql script - the estimate durations are different.
-- This is normal as the FK are not processed the same way.
-----------------------------
-- group is unknown
select emaj.emaj_estimate_rollback_group(NULL,NULL,FALSE);
Expand Down
3 changes: 3 additions & 0 deletions test/12/expected/misc.out
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,9 @@ select public.handle_emaj_sequences(5200);

-----------------------------
-- emaj_estimate_rollback_group() and emaj_estimate_rollback_groups() tests
--
-- When emaj is not created as an extension - i.e. is created with the psql script - the estimate durations are different.
-- This is normal as the FK are not processed the same way.
-----------------------------
-- group is unknown
select emaj.emaj_estimate_rollback_group(NULL,NULL,FALSE);
Expand Down
3 changes: 3 additions & 0 deletions test/13/expected/misc.out
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,9 @@ select public.handle_emaj_sequences(5200);

-----------------------------
-- emaj_estimate_rollback_group() and emaj_estimate_rollback_groups() tests
--
-- When emaj is not created as an extension - i.e. is created with the psql script - the estimate durations are different.
-- This is normal as the FK are not processed the same way.
-----------------------------
-- group is unknown
select emaj.emaj_estimate_rollback_group(NULL,NULL,FALSE);
Expand Down
2 changes: 1 addition & 1 deletion test/14/expected/install_psql.out
Original file line number Diff line number Diff line change
Expand Up @@ -8079,7 +8079,7 @@ $_rlbk_planning$
WHERE emaj._log_stat_tbl(t, greatest(v_markTimeId, lower(rel_time_range)), NULL) > 0;
GET DIAGNOSTICS v_effNbTable = ROW_COUNT;
-- For tables having all foreign keys linking tables in the rolled back groups, set the rlbp_is_repl_role_replica flag to TRUE.
-- This only concerns emaj installed as an extension because one needs to be sure that the the _rlbk_tbl() function is executed with a
-- This only concerns emaj installed as an extension because one needs to be sure that the _rlbk_tbl() function is executed with a
-- superuser role (this is needed to set the session_replication_role to 'replica').
v_isEmajExtension = EXISTS (SELECT 1 FROM pg_catalog.pg_extension WHERE extname = 'emaj');
IF v_isEmajExtension AND v_effNbTable > 0 THEN
Expand Down
3 changes: 3 additions & 0 deletions test/14/expected/misc.out
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,9 @@ select public.handle_emaj_sequences(5200);

-----------------------------
-- emaj_estimate_rollback_group() and emaj_estimate_rollback_groups() tests
--
-- When emaj is not created as an extension - i.e. is created with the psql script - the estimate durations are different.
-- This is normal as the FK are not processed the same way.
-----------------------------
-- group is unknown
select emaj.emaj_estimate_rollback_group(NULL,NULL,FALSE);
Expand Down
3 changes: 3 additions & 0 deletions test/15/expected/misc.out
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,9 @@ select public.handle_emaj_sequences(5200);

-----------------------------
-- emaj_estimate_rollback_group() and emaj_estimate_rollback_groups() tests
--
-- When emaj is not created as an extension - i.e. is created with the psql script - the estimate durations are different.
-- This is normal as the FK are not processed the same way.
-----------------------------
-- group is unknown
select emaj.emaj_estimate_rollback_group(NULL,NULL,FALSE);
Expand Down
3 changes: 3 additions & 0 deletions test/sql/misc.sql
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,9 @@ select public.handle_emaj_sequences(5200);

-----------------------------
-- emaj_estimate_rollback_group() and emaj_estimate_rollback_groups() tests
--
-- When emaj is not created as an extension - i.e. is created with the psql script - the estimate durations are different.
-- This is normal as the FK are not processed the same way.
-----------------------------

-- group is unknown
Expand Down

0 comments on commit 7ab5e7e

Please sign in to comment.