pgsql: Improve one of the test cases in 035_standby_logical_decoding.pl

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Improve one of the test cases in 035_standby_logical_decoding.pl
Дата
Msg-id E1psEmI-005GbO-8S@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Improve one of the test cases in 035_standby_logical_decoding.pl.

The test to ensure that decoding changes via logical slot from another
database will fail was incorrectly done on the primary node instead of on
the standby node.

In the passing, make the test to wait for replay catchup by using
wait_for_replay_catchup(). This will make it consistent with the way we
wait at other places in the test.

Author: Shi yu
Reviewed-by: Bertrand Drouvot, Amit Kapila
Discussion: https://postgr.es/m/OSZPR01MB6310B0A507A0F2A2D379F38CFD6A9@OSZPR01MB6310.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4d26d93ff7fbf7bde5710595255ca9c8033a1402

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 15 ++++++++++-----
1 file changed, 10 insertions(+), 5 deletions(-)


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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: pgsql: Prevent underflow in KeepLogSeg().
Следующее
От: Masahiko Sawada
Дата:
Сообщение: pgsql: Add unit to vacuum_buffer_usage_limit value in postgresql.conf.s