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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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)
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