From: Robert Haas Date: Wed, 5 Mar 2014 17:55:43 +0000 (-0500) Subject: Fix test_decoding regression test outputs. X-Git-Tag: REL9_4_BETA1~382 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97e899e1b85c7e42ab29cd09fc91cf57760bc1cb;p=thirdparty%2Fpostgresql.git Fix test_decoding regression test outputs. Commit 6f37c08057685ee3c6c63222dba0dac012760dde removed whitespace from the SQL file but not the expected-output file, and commit 7e8db2dc420099df3fa73987cf2d2d6d1a609d86 changed the error message without updating the expected outputs. --- diff --git a/contrib/test_decoding/expected/binary.out b/contrib/test_decoding/expected/binary.out index 3409d9d4265..4164784ab34 100644 --- a/contrib/test_decoding/expected/binary.out +++ b/contrib/test_decoding/expected/binary.out @@ -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 diff --git a/contrib/test_decoding/expected/ddl.out b/contrib/test_decoding/expected/ddl.out index 986f504effb..0dff60e92a6 100644 --- a/contrib/test_decoding/expected/ddl.out +++ b/contrib/test_decoding/expected/ddl.out @@ -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? ----------