planner: non-prep plan cache support negative numbers #44977
Labels
epic/plan-cache
sig/planner
SIG: Planner
type/enhancement
The issue or PR belongs to an enhancement.
Enhancement
As shown below, non-prep plan cache cannot support queries with any negative number.
The root cause is that all negative numbers are parsed as
builtinFuncMinus(positive-number)
, and currently the plan cache cannot handle it.Better to parse negative numbers as
negative-number
directly.The text was updated successfully, but these errors were encountered: