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

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Re: ERROR: missing chunk number 0 for toast value while using logical decoder.\
Дата
Msg-id CAB7nPqSLSJJSyFXLWP8bsgJqFEi+28QZ4y5AEyujG8r1vs2MeQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 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 Mon, Jul 18, 2016 at 4:31 PM, sudalai <sudalait2@gmail.com> wrote:
>      Please help me, I am using PostgreSQL 9.5.0.
>      I don't know much in postgres internals. why does peek_changes trying
> to take share lock on 248486 (primary key of one table).
>      Its postgres logical decoder  takes share lock or output-plugin takes
> share lock ?
>      Is there any way i can avoid it?  Please help me.

No way to say as that's your plugin code. I think that you should look
at your code and grep for ShareLock, trying to find out why this is
taken. My guess is that a lower level of locking could be used,
ShareLock is a strong one, taken when you want to be sure that there
are schema changes for example.
--
Michael


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

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