postgres.git / summary / log / commit / refs

commit    69360b34589bd6dbc7bc58dec718f938167f1071
Author:   Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:     Tue Mar 31 19:37:24 2020 +0000
First released in: 13.0

    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


contrib/test_decoding/expected/ddl.out | 4 ++-- contrib/test_decoding/sql/ddl.sql | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/contrib/test_decoding/expected/ddl.out b/contrib/test_decoding/expected/ddl.out index 2c999fd3eb7..cf0318f6977 100644 --- a/contrib/test_decoding/expected/ddl.out +++ b/contrib/test_decoding/expected/ddl.out @@ -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 diff --git a/contrib/test_decoding/sql/ddl.sql b/contrib/test_decoding/sql/ddl.sql index 856495c9526..0f2b9992f7a 100644 --- a/contrib/test_decoding/sql/ddl.sql +++ b/contrib/test_decoding/sql/ddl.sql @@ -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 [parent: b0236508d358]