aboutsummaryrefslogtreecommitdiff
path: root/contrib/test_decoding/expected/binary.out
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-10-01 13:13:59 +0200
committerAndres Freund <andres@anarazel.de>2014-10-01 13:22:17 +0200
commit0ef3c29a4b43e72d93cff65a17a9ccccff87618d (patch)
treedd09f894757e2b09e91798669d9c16c96cfbe64d /contrib/test_decoding/expected/binary.out
parentef8863844bb0b0dab7b92c5f278302a42b4bf05a (diff)
downloadpostgresql-0ef3c29a4b43e72d93cff65a17a9ccccff87618d.tar.gz
postgresql-0ef3c29a4b43e72d93cff65a17a9ccccff87618d.zip
Improve documentation about binary/textual output mode for output plugins.
Also improve related error message as it contributed to the confusion. Discussion: CAB7nPqQrqFzjqCjxu4GZzTrD9kpj6HMn9G5aOOMwt1WZ8NfqeA@mail.gmail.com, CAB7nPqQXc_+g95zWnqaa=mVQ4d3BVRs6T41frcEYi2ocUrR3+A@mail.gmail.com Per discussion between Michael Paquier, Robert Haas and Andres Freund Backpatch to 9.4 where logical decoding was introduced.
Diffstat (limited to 'contrib/test_decoding/expected/binary.out')
-rw-r--r--contrib/test_decoding/expected/binary.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/test_decoding/expected/binary.out b/contrib/test_decoding/expected/binary.out
index 4164784ab34..6d307491f06 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 binary output
+ERROR: logical decoding output plugin "test_decoding" produces binary output, but "pg_logical_slot_get_changes(name,pg_lsn,integer,text[])" expects textual data
-- succeeds, textual plugin, binary consumer
SELECT data FROM pg_logical_slot_get_binary_changes('regression_slot', NULL, NULL, 'force-binary', '0');
data