From: Tom Lane <tgl@sss.pgh.pa.us>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Егор Чиндяскин <kyzevan23@mail.ru>
Cc: PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #17583: Server crashes on executing CROSS JOIN with very big number of tables
Date: Sat, 13 Aug 2022 15:23:11 -0400
Message-ID: <402040.1660418591@sss.pgh.pa.us> (raw)
In-Reply-To: <CAMbWs48JpVuP-89Pspros8JWy3EVMVPoVjF2-hnZHgatf=EKKw@mail.gmail.com>
References: <17583-33be55b9f981f75c@postgresql.org>
<CAMbWs499ytQiH4mLMhRxRWP-iEUz3-DSinpAD-cUCtVo_23Wtg@mail.gmail.com>
<CAMbWs48JpVuP-89Pspros8JWy3EVMVPoVjF2-hnZHgatf=EKKw@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, guofenglinux@gmail.com, kyzevan23@mail.ru, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17583: Server crashes on executing CROSS JOIN with very big number of tables
In-Reply-To: <402040.1660418591@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox