Re: ERROR: missing chunk number 0 for toast value while using logical decoder.\

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: ERROR: missing chunk number 0 for toast value while using logical decoder.\
Дата
Msg-id CAB7nPqSAKEtTsME_d+eMh0WXWXT=k02nhy7oDrYNSmTnun=gqQ@mail.gmail.com
обсуждение исходный текст
Ответ на ERROR: missing chunk number 0 for toast value while using logical decoder.\  (sudalai <sudalait2@gmail.com>)
Ответы Re: ERROR: missing chunk number 0 for toast value while using logical decoder.\  (sudalai <sudalait2@gmail.com>)
Список pgsql-general
On Thu, Jun 23, 2016 at 3:38 PM, sudalai <sudalait2@gmail.com> wrote:
>
> I am using PostgresSQL 9.5.0.
> I have customized :
> https://github.com/michaelpq/pg_plugins/tree/master/decoder_raw to get
> result as json. It works fine. suddenly i getting below exception while
> consuming or peeking changes through that logical slot.
> Does postgres removed the  rows needed for that slot??
> Kindly help me to find the problem.
>
> db=# select * from pg_logical_slot_get_changes('lslot',NULL,1);
> ERROR:  missing chunk number 0 for toast value 857563 in pg_toast_782254
> CONTEXT:  slot "lslot", output plugin "rep_slot", in the change callback,
> associated LSN 2E/3C26D6F0

A couple of failures in logical decoding have been fixed in 9.5.2 and
9.5.3 but this one is new, still you had better update... The error is
visibly coming from the code of your plugin per the context message.
Do you have an SQL sequence that allows to reproduce the problem? I
recall playing with a couple of data types with my own plugin but I
never noticed that.
--
Michael


В списке pgsql-general по дате отправления:

Предыдущее
От: sudalai
Дата:
Сообщение: Re: ERROR: missing chunk number 0 for toast value while using logical decoder.\
Следующее
От: sudalai
Дата:
Сообщение: Re: ERROR: missing chunk number 0 for toast value while using logical decoder.\