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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix test_decoding test case's check that slot has been dropped.
Date: 2014-05-16 08:35:23
Message-ID: E1WlDbv-0005fe-Ld@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-16 19:12:00 pgsql: Fix valgrind warning for btree_gist indexes on macaddr.
Previous Message Heikki Linnakangas 2014-05-16 07:54:51 pgsql: Fix thinko in logical decoding of commit-prepared records.