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/20181120050744.GJ4400@paquier.xyz
pull/51/head
Alvaro Herrera 6 years ago
parent b0236508d3
commit 69360b3458
No known key found for this signature in database
GPG Key ID: 1C20ACB9D5C564AE
  1. 4
      contrib/test_decoding/expected/ddl.out
  2. 2
      contrib/test_decoding/sql/ddl.sql

@ -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

@ -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

Loading…
Cancel
Save