Ruleutils_17 Tidy-up some appendStringInfo*() usages

Relevant PG commit:
2075ba9dc9af8833b1147996c15246e44a1e4fab
2075ba9dc9

(cherry picked from commit 31def248b7)
pull/7725/head
naisila 2024-07-25 15:12:10 +02:00
parent fd20578fcb
commit 7145725a7c
1 changed files with 2 additions and 2 deletions

View File

@ -7175,7 +7175,7 @@ get_func_sql_syntax(FuncExpr *expr, deparse_context *context)
case F_IS_NORMALIZED:
/* IS xxx NORMALIZED */
appendStringInfoString(buf, "(");
appendStringInfoChar(buf, '(');
get_rule_expr_paren((Node *) linitial(expr->args), context, false,
(Node *) expr);
appendStringInfoString(buf, " IS");
@ -7661,7 +7661,7 @@ get_json_constructor(JsonConstructorExpr *ctor, deparse_context *context,
}
get_json_constructor_options(ctor, buf);
appendStringInfo(buf, ")");
appendStringInfoChar(buf, ')');
}
/*