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/20181120050744.GJ4400@paquier.xyz
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy