Fix typo introduced in 6185c9737
authorAmit Langote <[email protected]>
Thu, 4 Apr 2024 11:53:23 +0000 (20:53 +0900)
committerAmit Langote <[email protected]>
Thu, 4 Apr 2024 11:53:23 +0000 (20:53 +0900)
Reported-by: Jian He <[email protected]>
Discussion: https://postgr.es/m/CACJufxGHiU0p0usjh5hnR0_ByZn4tq1FC3eKAtrQgJeKU6W9kw@mail.gmail.com

src/backend/parser/parse_expr.c

index 81e66020858495b8945d21f6490e88a399841f88..66bbba5c7fdb9b0bb7d8dd7d6c4bca8e337c1c5d 100644 (file)
@@ -4334,7 +4334,7 @@ transformJsonFuncExpr(ParseState *pstate, JsonFuncExpr *func)
                 parser_errposition(pstate, exprLocation(path_spec))));
    jsexpr->path_spec = path_spec;
 
-   /* Transform and coerce the PASSING arguments to to jsonb. */
+   /* Transform and coerce the PASSING arguments to jsonb. */
    transformJsonPassingArgs(pstate, func_name,
                             JS_FORMAT_JSONB,
                             func->passing,