Re: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
Дата
Msg-id 1449238.1742999736@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root  (PG Bug reporting form <noreply@postgresql.org>)
Список pgsql-bugs
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



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