diff --git a/third_party/libpg_query/grammar/statements/select.y b/third_party/libpg_query/grammar/statements/select.y index a73a2c5d8692..e4f38ce7050e 100644 --- a/third_party/libpg_query/grammar/statements/select.y +++ b/third_party/libpg_query/grammar/statements/select.y @@ -3322,7 +3322,7 @@ pgq_a_expr: dict_arg: - ColIdOrString ':' a_expr { + ColIdOrString ':' pgq_a_expr { PGNamedArgExpr *na = makeNode(PGNamedArgExpr); na->name = $1; na->arg = (PGExpr *) $3;