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

From Tom Lane
Subject Re: BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root
Date
Msg-id 1449238.1742999736@sss.pgh.pa.us
Whole thread Raw
In response to BUG #18869: /src/backend/optimizer/plan/createplan.c clause can be null if user isn't root  (PG Bug reporting form <noreply@postgresql.org>)
List 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 by date:

Previous
From: "Euler Taveira"
Date:
Subject: Re: BUG #18868: /src/backend/optimizer/path/joinrels.c list_head can be NULL
Next
From: Tom Lane
Date:
Subject: Re: BUG #18866: Running pg_freespace() on views triggers an Abort