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