MCPcopy Create free account
hub / github.com/apache/cloudberry / exprIsNullConstant

Function exprIsNullConstant

src/backend/parser/parse_expr.c:882–893  ·  view source on GitHub ↗

Test whether an a_expr is a plain NULL constant or not */

Source from the content-addressed store, hash-verified

880
881/* Test whether an a_expr is a plain NULL constant or not */
882static bool
883exprIsNullConstant(Node *arg)
884{
885 if (arg && IsA(arg, A_Const))
886 {
887 A_Const *con = (A_Const *) arg;
888
889 if (con->val.type == T_Null)
890 return true;
891 }
892 return false;
893}
894
895static Node *
896transformAExprOp(ParseState *pstate, A_Expr *a)

Callers 2

transformAExprOpFunction · 0.85
transformAExprDistinctFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected