Remove header noise from test_decoding test
authorAlvaro Herrera
Tue, 31 Mar 2020 19:37:24 +0000 (16:37 -0300)
committerAlvaro Herrera
Tue, 31 Mar 2020 19:43:14 +0000 (16:43 -0300)
Use psql's expanded output to avoid a pointless header.

Kyotaro Horiguchi, after an idea of Michael Paquier

Discussion: https://postgr.es/m/20181120050744[email protected]

contrib/test_decoding/expected/ddl.out
contrib/test_decoding/sql/ddl.sql

index 2c999fd3eb7816148ff1a9f52b3e3c178d3c8ab0..cf0318f69771df6b90ac48950cc67f01b06e30de 100644 (file)
@@ -723,8 +723,8 @@ SELECT pg_drop_replication_slot('regression_slot');
 (1 row)
 
 /* check that the slot is gone */
+\x
 SELECT * FROM pg_replication_slots;
- slot_name | plugin | slot_type | datoid | database | temporary | active | active_pid | xmin | catalog_xmin | restart_lsn | confirmed_flush_lsn 
------------+--------+-----------+--------+----------+-----------+--------+------------+------+--------------+-------------+---------------------
 (0 rows)
 
+\x
index 856495c9526a71bd8823b056e038860d069000bf..0f2b9992f7ae4ff0638ab47b8411e86165d3f21f 100644 (file)
@@ -387,4 +387,6 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'inc
 SELECT pg_drop_replication_slot('regression_slot');
 
 /* check that the slot is gone */
+\x
 SELECT * FROM pg_replication_slots;
+\x