Re: Misleading error message in logical decoding for binary plugins - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Misleading error message in logical decoding for binary plugins
Date
Msg-id CAB7nPqRCoCrrf84vHrvdRk8+9RGZbRfBkWMri9_79TFkmz41Fg@mail.gmail.com
Whole thread Raw
In response to Re: Misleading error message in logical decoding for binary plugins  (Andres Freund <andres@2ndquadrant.com>)
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: Why data of timestamptz does not store value of timezone passed to it?
Next
From: Tom Lane
Date:
Subject: Re: Why data of timestamptz does not store value of timezone passed to it?