Ruleutils_17 Tidy-up some appendStringInfo*() usages

Relevant PG commit:
2075ba9dc9af8833b1147996c15246e44a1e4fab
2075ba9dc9
m3hm3t/pg17_isolation_test_cmd_from
naisila 2024-07-25 15:12:10 +02:00
parent 37ac804749
commit 31def248b7
No known key found for this signature in database
GPG Key ID: A824BA9862D73E6D
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, ')');
}
/*