Re: transformJsonFuncExpr pathspec cache lookup failed

2025-11-18 Thread jian he
On Fri, Nov 7, 2025 at 2:26 PM Kirill Reshke wrote: > > Hi! > I tried your fix and this indeed fixes an issue. Two minor comments: > > First, > in the `src/backend/parser/parse_expr.c` fil there are multiple > examples of working with `coerce_to_target_type`, they all share > different coding prac

Re: transformJsonFuncExpr pathspec cache lookup failed

2025-11-06 Thread Kirill Reshke
On Fri, 7 Nov 2025 at 07:50, jian he wrote: > > hi. > > in transformJsonFuncExpr: > > path_spec = transformExprRecurse(pstate, func->pathspec); > path_spec = coerce_to_target_type(pstate, path_spec, exprType(path_spec), > JSONPATHOID, -1, >

transformJsonFuncExpr pathspec cache lookup failed

2025-11-06 Thread jian he
hi. in transformJsonFuncExpr: path_spec = transformExprRecurse(pstate, func->pathspec); path_spec = coerce_to_target_type(pstate, path_spec, exprType(path_spec), JSONPATHOID, -1, COERCION_EXPLICIT, COERCE_IMPLICIT