diff options
author | Andres Freund <andres@anarazel.de> | 2014-10-01 13:13:59 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-10-01 13:21:59 +0200 |
commit | ce84b0682cd169738797f74ec8acc1701b9da40c (patch) | |
tree | 53eeedf398326538b313026516a7e3e24e9bcd86 /contrib | |
parent | f78319fec8eb8aed34d6e1e43ca35fb0a9bfe108 (diff) |
Improve documentation about binary/textual output mode for output plugins.
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')
-rw-r--r-- | contrib/test_decoding/expected/binary.out | 2 |
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 |