Skip to content

Commit 69360b3

Browse files
committed
Remove header noise from test_decoding test
Use psql's expanded output to avoid a pointless header. Kyotaro Horiguchi, after an idea of Michael Paquier Discussion: https://postgr.es/m/[email protected]
1 parent b023650 commit 69360b3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

contrib/test_decoding/expected/ddl.out

+2-2
Original file line numberDiff line numberDiff line change
@@ -723,8 +723,8 @@ SELECT pg_drop_replication_slot('regression_slot');
723723
(1 row)
724724

725725
/* check that the slot is gone */
726+
\x
726727
SELECT * FROM pg_replication_slots;
727-
slot_name | plugin | slot_type | datoid | database | temporary | active | active_pid | xmin | catalog_xmin | restart_lsn | confirmed_flush_lsn
728-
-----------+--------+-----------+--------+----------+-----------+--------+------------+------+--------------+-------------+---------------------
729728
(0 rows)
730729

730+
\x

contrib/test_decoding/sql/ddl.sql

+2
Original file line numberDiff line numberDiff line change
@@ -387,4 +387,6 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
387387
SELECT pg_drop_replication_slot('regression_slot');
388388

389389
/* check that the slot is gone */
390+
\x
390391
SELECT * FROM pg_replication_slots;
392+
\x

0 commit comments

Comments
 (0)