Re: Misleading error message in logical decoding for binary plugins
От | Michael Paquier |
---|---|
Тема | Re: Misleading error message in logical decoding for binary plugins |
Дата | |
Msg-id | CAB7nPqRCoCrrf84vHrvdRk8+9RGZbRfBkWMri9_79TFkmz41Fg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Misleading error message in logical decoding for binary plugins (Andres Freund <andres@2ndquadrant.com>) |
Список | pgsql-hackers |
<div dir="ltr">On Fri, Aug 29, 2014 at 11:39 PM, Andres Freund <span dir="ltr"><<a href="mailto:andres@2ndquadrant.com"target="_blank">andres@2ndquadrant.com</a>></span> wrote:<br /><div class="gmail_extra"><divclass="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #cccsolid;padding-left:1ex">Yes. The output plugin declares whether it requires the *output method*<br /> to support binarydata. pg_logical_slot_peek_changes *can not* support<br /> binary data because it outputs data as<br /> text. pg_logical_slot_peek_binary_changes*can* support binary data<br /> because it returns bytea (and thus it also can outputtext, because<br /> that's essentially a subset of binary data).<br /></blockquote>Thanks for the explanations. Thiswould meritate more details within the docs, like what those two modes actually do and what the user can expect as differences,advantages and disadvantages if he chooses one or the other when starting decoding...<br /></div>-- <br />Michael<br/></div></div>
В списке pgsql-hackers по дате отправления: