get_relattval() should treat a NULL constant as a non-constant expression,
authorTom Lane <[email protected]>
Sun, 16 Apr 2000 01:55:45 +0000 (01:55 +0000)
committerTom Lane <[email protected]>
Sun, 16 Apr 2000 01:55:45 +0000 (01:55 +0000)
commit8064a49f6f8e38aa0ba0fd46c6903ea513014446
tree0d1d9903a1bc78c307b151f2892169976b856445
parent3e51872a98c1447677102a9d20f13cdacc2b5139
get_relattval() should treat a NULL constant as a non-constant expression,
since it has no way to indicate to its caller that the constant is
actually NULL.  This prevents coredump in cases like
  WHERE textfield < null::text;
src/backend/optimizer/util/clauses.c