Обсуждение: pgsql: Fix test_decoding test case's check that slot has been dropped.

Поиск
Список
Период
Сортировка

pgsql: Fix test_decoding test case's check that slot has been dropped.

От
Heikki Linnakangas
Дата:
Fix test_decoding test case's check that slot has been dropped.

pg_stat_replication shows connected replication clients. The ddl test case
never has any replication clients connected, so querying pg_stat_replication
is pointless. To check that a slot has been dropped correctly, query
pg_replication_slots instead.

Andres Freund

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/afd0fcbc5d421454e7d55d949cca0721c9c135c3

Modified Files
--------------
contrib/test_decoding/expected/ddl.out |    8 ++++----
contrib/test_decoding/sql/ddl.sql      |    5 +++--
2 files changed, 7 insertions(+), 6 deletions(-)