You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ffb1fcb
Browse filesBrowse the repository at this point in the historyBrowse files
fix(pgwire): evaluate scalar functions in DDL value parser
The `parse_inline_value` helper in the pgwire DDL path was converting
any unrecognised token directly to a string, causing `now()` and
`current_timestamp` in UPSERT payloads to be stored as their literal
text rather than the current timestamp.
Introduce `try_eval_scalar_function` which routes bare SQL keywords
(`current_timestamp`, `current_date`, etc.) and parenthesised call
expressions through the same `nodedb_sql::planner::const_fold`
evaluator used by the INSERT/UPSERT VALUES planner path. Unknown
names fall through to the existing string behaviour.
0 commit comments