Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 97e899e

Browse files
committed
Fix test_decoding regression test outputs.
Commit 6f37c08 removed whitespace from the SQL file but not the expected-output file, and commit 7e8db2d changed the error message without updating the expected outputs.
1 parent 114b26c commit 97e899e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/test_decoding/expected/binary.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'for
1414

1515
-- fails, binary plugin, textual consumer
1616
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'force-binary', '1');
17-
ERROR: output plugin cannot produce text output
17+
ERROR: output plugin cannot produce binary output
1818
-- succeeds, textual plugin, binary consumer
1919
SELECT data FROM pg_logical_slot_get_binary_changes('regression_slot', NULL, NULL, 'force-binary', '0');
2020
data

contrib/test_decoding/expected/ddl.out

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SELECT pg_drop_replication_slot('regression_slot');
3333
-- fail
3434
SELECT pg_drop_replication_slot('regression_slot');
3535
ERROR: replication slot "regression_slot" does not exist
36-
-- check that we're detecting a streaming rep slot used for logical decoding
36+
-- check that we're detecting a streaming rep slot used for logical decoding
3737
SELECT 'init' FROM pg_create_physical_replication_slot('repl');
3838
?column?
3939
----------

0 commit comments

Comments
 (0)