Skip to content

Commit 8de7fe6

Browse files
committed
More test output optimization
1 parent b26d1a1 commit 8de7fe6

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

expected/drop.out

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ SELECT * FROM pglogical_regress_variables()
44
SELECT * FROM pglogical.drop_node(node_name := 'test_provider');
55
ERROR: cannot drop node "test_provider" because replication slot "pgl_postgres_test_provider_test_sube55bf37" on the node is still active
66
HINT: drop the subscriptions first
7-
SELECT slot_name, plugin, slot_type, database, active FROM pg_replication_slots;
8-
slot_name | plugin | slot_type | database | active
9-
--------------------------------------------+------------------+-----------+------------+--------
10-
pgl_postgres_test_provider_test_sube55bf37 | pglogical_output | logical | regression | t
7+
SELECT plugin, slot_type, active FROM pg_replication_slots;
8+
plugin | slot_type | active
9+
------------------+-----------+--------
10+
pglogical_output | logical | t
1111
(1 row)
1212

1313
SELECT count(*) FROM pg_stat_replication;
@@ -36,9 +36,9 @@ SELECT * FROM pglogical.drop_node(node_name := 'test_provider');
3636
t
3737
(1 row)
3838

39-
SELECT slot_name, plugin, slot_type, database, active FROM pg_replication_slots;
40-
slot_name | plugin | slot_type | database | active
41-
-----------+--------+-----------+----------+--------
39+
SELECT plugin, slot_type, active FROM pg_replication_slots;
40+
plugin | slot_type | active
41+
--------+-----------+--------
4242
(0 rows)
4343

4444
SELECT count(*) FROM pg_stat_replication;

sql/drop.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ SELECT * FROM pglogical_regress_variables()
55
\c :provider_dsn
66
SELECT * FROM pglogical.drop_node(node_name := 'test_provider');
77

8-
SELECT slot_name, plugin, slot_type, database, active FROM pg_replication_slots;
8+
SELECT plugin, slot_type, active FROM pg_replication_slots;
99
SELECT count(*) FROM pg_stat_replication;
1010

1111
\c :subscriber_dsn
@@ -15,5 +15,5 @@ SELECT * FROM pglogical.drop_node(node_name := 'test_subscriber');
1515
\c :provider_dsn
1616
SELECT * FROM pglogical.drop_node(node_name := 'test_provider');
1717

18-
SELECT slot_name, plugin, slot_type, database, active FROM pg_replication_slots;
18+
SELECT plugin, slot_type, active FROM pg_replication_slots;
1919
SELECT count(*) FROM pg_stat_replication;

0 commit comments

Comments
 (0)