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
On Fri, Aug 29, 2014 at 11:39 PM, Andres Freund <andres@2ndquadrant.com> wrote:
Yes. The output plugin declares whether it requires the *output method*
to support binary data. pg_logical_slot_peek_changes *can not* support
binary data because it outputs data as
text. pg_logical_slot_peek_binary_changes *can* support binary data
because it returns bytea (and thus it also can output text, because
that's essentially a subset of binary data).
Thanks for the explanations. This would 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...
--
Michael

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?