pgsql: Add regression test for recovery pause.

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема pgsql: Add regression test for recovery pause.
Дата
Msg-id E1loHR5-0003G8-TJ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Add regression test for recovery pause.

Previously there was no regression test for recovery pause feature.
This commit adds the test that checks

- recovery can be paused or resumed expectedly
- pg_get_wal_replay_pause_state() reports the correct pause state
- the paused state ends and promotion continues if a promotion
   is triggered while recovery is paused

Suggested-by: Michael Paquier
Author: Fujii Masao
Reviewed-by: Kyotaro Horiguchi, Dilip Kumar
Discussion: https://postgr.es/m/YKNirzqM1HYyk5h4@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6bbc5c5e96b08f6b8c7d28d10ed8dfe6c49dca30

Modified Files
--------------
src/test/recovery/t/005_replay_delay.pl | 59 +++++++++++++++++++++++++++++++--
1 file changed, 57 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Fix missing gettimeofday() declaration.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Teach tab-complete.c about recently-added CREATE TYPE options.