Re: [BUG] Logical replica crash if there was an error in a function.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUG] Logical replica crash if there was an error in a function.
Дата
Msg-id 2295855.1664040443@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUG] Logical replica crash if there was an error in a function.  ("Anton A. Melnikov" <aamelnikov@inbox.ru>)
Ответы Re: [BUG] Logical replica crash if there was an error in a function.  ("Anton A. Melnikov" <aamelnikov@inbox.ru>)
Re: [BUG] Logical replica crash if there was an error in a function.  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
"Anton A. Melnikov" <aamelnikov@inbox.ru> writes:
> [ v4-0001-Fix-logical-replica-assert-on-func-error.patch ]

I took a quick look at this.  I think you're solving the
problem in the wrong place.  The real issue is why are
we not setting up ActivePortal correctly when running
user-defined code in a logrep worker?  There is other code
that expects that to be set, eg EnsurePortalSnapshotExists.

            regards, tom lane



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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: tweak to a few index tests to hits ambuildempty() routine.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: identifying the backend that owns a temporary schema