Skip to content

Commit 5ef4940

Browse files
committed
More test output adjustment for parametrization
1 parent 502f7c2 commit 5ef4940

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

expected/init.out

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,18 @@ SELECT sync_kind, sync_subid, sync_nspname, sync_relname, sync_status FROM pglog
8383
f | 3848008564 | | | r
8484
(1 row)
8585

86-
SELECT * FROM pglogical.show_subscription_status();
87-
subscription_name | status | provider_node | provider_dsn | slot_name | replication_sets | forward_origins
88-
-------------------+-------------+---------------+------------------------------+--------------------------------------------+---------------------------------------+-----------------
89-
test_subscription | replicating | test_provider | dbname=regression user=super | pgl_postgres_test_provider_test_sube55bf37 | {default,default_insert_only,ddl_sql} |
86+
SELECT subscription_name, status, provider_node, replication_sets, forward_origins FROM pglogical.show_subscription_status();
87+
subscription_name | status | provider_node | replication_sets | forward_origins
88+
-------------------+-------------+---------------+---------------------------------------+-----------------
89+
test_subscription | replicating | test_provider | {default,default_insert_only,ddl_sql} |
9090
(1 row)
9191

9292
-- Make sure we see the slot and active connection
9393
\c :provider_dsn
94-
SELECT plugin, slot_type, database, active FROM pg_replication_slots;
95-
plugin | slot_type | database | active
96-
------------------+-----------+------------+--------
97-
pglogical_output | logical | regression | t
94+
SELECT plugin, slot_type, active FROM pg_replication_slots;
95+
plugin | slot_type | active
96+
------------------+-----------+--------
97+
pglogical_output | logical | t
9898
(1 row)
9999

100100
SELECT count(*) FROM pg_stat_replication;

sql/init.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ END;$$;
7979

8080
SELECT sync_kind, sync_subid, sync_nspname, sync_relname, sync_status FROM pglogical.local_sync_status ORDER BY 2,3,4;
8181

82-
SELECT * FROM pglogical.show_subscription_status();
82+
SELECT subscription_name, status, provider_node, replication_sets, forward_origins FROM pglogical.show_subscription_status();
8383

8484
-- Make sure we see the slot and active connection
8585
\c :provider_dsn
86-
SELECT plugin, slot_type, database, active FROM pg_replication_slots;
86+
SELECT plugin, slot_type, active FROM pg_replication_slots;
8787
SELECT count(*) FROM pg_stat_replication;

0 commit comments

Comments
 (0)