Re: Stack overflow issue

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: Stack overflow issue
Дата
Msg-id CA+TgmoZbw8ivGy5Ma3B0_AtBN8pg5ovrSXM_w_sChz6spTe=FQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Stack overflow issue  (Heikki Linnakangas <hlinnaka@iki.fi>)
Ответы Re: Stack overflow issue
Список pgsql-hackers
On Wed, Jan 10, 2024 at 4:25 PM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> The problem with CommitTransactionCommand (or rather
> AbortCurrentTransaction() which has the same problem)
> and ShowTransactionStateRec is that they get called in a state where
> aborting can lead to a panic. If you add a "check_stack_depth()" to them
> and try to reproducer scripts that Egor posted, you still get a panic.

Hmm, that's unfortunate. I'm not sure what to do about that. But I'd
still suggest looking for a goto-free approach.

--
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Compile warnings in dbcommands.c building with meson
Следующее
От: Xiaoran Wang
Дата:
Сообщение: Re: Recovering from detoast-related catcache invalidations