Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69360b3

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 PaquierDiscussion:https://postgr.es/m/20181120050744.GJ4400@paquier.xyz
1 parentb023650 commit69360b3

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)

[8]ページ先頭

©2009-2025 Movatter.jp