Fixes some appendStringInfos in ruleutils_14.c

Relevant PG commit:
110d81728a0a006abcf654543fc15346f8043dc0
talha_pg14_support
Halil Ozan Akgul 2021-08-16 13:27:03 +03:00 committed by Sait Talha Nisanci
parent ccab8868d6
commit 9ef4a79492
1 changed files with 2 additions and 2 deletions

View File

@ -2091,7 +2091,7 @@ get_select_query_def(Query *query, deparse_context *context,
appendContextKeyword(context, " FETCH FIRST (",
-PRETTYINDENT_STD, PRETTYINDENT_STD, 0);
get_rule_expr(query->limitCount, context, false);
appendStringInfo(buf, ") ROWS WITH TIES");
appendStringInfoString(buf, ") ROWS WITH TIES");
}
else
{
@ -8446,7 +8446,7 @@ get_range_partbound_string(List *bound_datums)
memset(&context, 0, sizeof(deparse_context));
context.buf = buf;
appendStringInfoString(buf, "(");
appendStringInfoChar(buf, '(');
sep = "";
foreach(cell, bound_datums)
{