From: Tom Lane <tgl@sss.pgh.pa.us>
To: dan-eli@mail.ru
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
Date: Wed, 26 Mar 2025 10:35:36 -0400
Message-ID: <1449238.1742999736@sss.pgh.pa.us> (raw)
In-Reply-To: <18869-0bacaab42e8d02eb@postgresql.org>
References: <18869-0bacaab42e8d02eb@postgresql.org>
PG Bug reporting form <noreply@postgresql.org> writes:
> If root is NULL, pointer clause can also be NULL and then dereferenced at
> createplan.c:5104 at if (IsA(clause, OpExpr)). I guess there should be a
> check for NULL.
root would never be null here, and neither would the clause.
In general, we are not terribly interested in "bug reports" generated
by unsupported static analysis.
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, dan-eli@mail.ru, pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
In-Reply-To: <1449238.1742999736@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