Fix test_decoding regression test outputs.

Commit 6f37c08057 removed whitespace
from the SQL file but not the expected-output file, and commit
7e8db2dc42 changed the error message
without updating the expected outputs.
This commit is contained in:
Robert Haas 2014-03-05 12:55:43 -05:00
parent 114b26c06f
commit 97e899e1b8
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'for
-- fails, binary plugin, textual consumer
SELECT data FROM pg_logical_slot_get_changes('regression_slot', NULL, NULL, 'force-binary', '1');
ERROR: output plugin cannot produce text output
ERROR: output plugin cannot produce binary output
-- succeeds, textual plugin, binary consumer
SELECT data FROM pg_logical_slot_get_binary_changes('regression_slot', NULL, NULL, 'force-binary', '0');
data

View File

@ -33,7 +33,7 @@ SELECT pg_drop_replication_slot('regression_slot');
-- fail
SELECT pg_drop_replication_slot('regression_slot');
ERROR: replication slot "regression_slot" does not exist
-- check that we're detecting a streaming rep slot used for logical decoding
-- check that we're detecting a streaming rep slot used for logical decoding
SELECT 'init' FROM pg_create_physical_replication_slot('repl');
?column?
----------