pub const MAX_EXPR_DEPTH: usize = 256;Expand description
Maximum expression-lowering recursion depth. Real well-formed
PL/SQL expressions nest far below this; the cap exists only so a
crafted flat binary chain or pathologically-nested paren / call /
unary spine cannot drive lower_expression (and the secondary
tree-walk consumers that re-walk the produced Box<Expr> chain to
identical depth — collect_calls, collect_expr_flow,
canonicalize_expr) into a stack-overflow / SIGABRT. Chosen high
enough that it never clips genuine expressions and low enough that
256 frames of the walk cannot overflow even a 2 MiB tokio worker
stack. Mirrors the honest-degradation posture of
crate::MAX_RELOWER_DEPTH.