Re: BUG #17583: Server crashes on executing CROSS JOIN with very big number of tables

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #17583: Server crashes on executing CROSS JOIN with very big number of tables
Дата
Msg-id 402040.1660418591@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #17583: Server crashes on executing CROSS JOIN with very big number of tables  (Richard Guo <guofenglinux@gmail.com>)
Список pgsql-bugs
Richard Guo <guofenglinux@gmail.com> writes:
> On Fri, Aug 12, 2022 at 5:03 PM Richard Guo <guofenglinux@gmail.com> wrote:
>> Function transformFromClauseItem() is driven to stack overflow. We need
>> to add some check_stack_depth() checks here and maybe other more places.

> Attach a patch to add the check for transformFromClauseItem.

Pushed.  It's possible there are some other places, but I think most
of the parser doesn't need it because it'll call transformExpr which
already checks.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #17585: Wrong path to the extension control file
Следующее
От: James Inform
Дата:
Сообщение: Re: BUG #17584: SQL crashes PostgreSQL when using ICU collation