Content-Length: 283708 | pFad | http://github.com/postgrespro/postgres_cluster/commit/69360b34589bd6dbc7bc58dec718f938167f1071

C7 Remove header noise from test_decoding test · postgrespro/postgres_cluster@69360b3 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/69360b34589bd6dbc7bc58dec718f938167f1071

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy