Re: [BUG] failed assertion in EnsurePortalSnapshotExists()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUG] failed assertion in EnsurePortalSnapshotExists()
Дата
Msg-id 2998972.1632946318@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUG] failed assertion in EnsurePortalSnapshotExists()  ("Drouvot, Bertrand" <bdrouvot@amazon.com>)
Ответы Re: [BUG] failed assertion in EnsurePortalSnapshotExists()  ("Drouvot, Bertrand" <bdrouvot@amazon.com>)
Список pgsql-hackers
"Drouvot, Bertrand" <bdrouvot@amazon.com> writes:
> But make check is now failing on join_hash.sql, I have been able to 
> repro with:

Oh, duh, should have thought a bit harder.  createSubid is a sequential
subtransaction number; it's not the same as the as_level nesting level.

Probably the most effective way to handle this is to add a subtransaction
nesting-level field to struct Portal, so we can pass that.  I don't recall
that xact.c provides any easy way to extract the nesting level of a
subtransaction that's not the most closely nested one.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: jsonb crash
Следующее
От: Tom Lane
Дата:
Сообщение: Re: jsonb crash