Re: BUG #17097: FailedAssertion at initsplan.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17097: FailedAssertion at initsplan.c
Дата
Msg-id 2257078.1625852398@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17097: FailedAssertion at initsplan.c  (John Naylor <john.naylor@enterprisedb.com>)
Список pgsql-bugs
John Naylor <john.naylor@enterprisedb.com> writes:
> If it saves you some time, the assert happens here in
> replace_vars_in_jointree():

> case RTE_JOIN:
> case RTE_CTE:
> case RTE_NAMEDTUPLESTORE:
> case RTE_RESULT:
> /* these shouldn't be marked LATERAL */
> Assert(false);
> break;

> where the plan has RTE_RESULT

Ah.  When converting the FUNCTION RTE to a dummy RESULT,
we must clear its lateral flag to avoid making this
logic unhappy.  Fixed.

            regards, tom lane



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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: BUG #17097: FailedAssertion at initsplan.c
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17098: Assert failed on composing an error message when adding a type to an extension being dropped