MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / run

Method run

pkg/sql/sem/tree/normalize.go:910–915  ·  view source on GitHub ↗
(expr Expr)

Source from the content-addressed store, hash-verified

908func (*fastIsConstVisitor) VisitPost(expr Expr) Expr { return expr }
909
910func (v *fastIsConstVisitor) run(expr Expr) bool {
911 v.isConst = true
912 v.visited = false
913 WalkExprConst(v, expr)
914 return v.isConst
915}
916
917// isVar returns true if the expression's value can vary during plan
918// execution. The parameter allowConstPlaceholders should be true

Callers

nothing calls this directly

Calls 1

WalkExprConstFunction · 0.85

Tested by

no test coverage detected