mirror of https://github.com/citusdata/citus.git
Fixes some appendStringInfos in ruleutils_14.c
Relevant PG commit: 110d81728a0a006abcf654543fc15346f8043dc0pull/5209/head
parent
69aa240b99
commit
30f77b29a7
|
@ -2091,7 +2091,7 @@ get_select_query_def(Query *query, deparse_context *context,
|
||||||
appendContextKeyword(context, " FETCH FIRST (",
|
appendContextKeyword(context, " FETCH FIRST (",
|
||||||
-PRETTYINDENT_STD, PRETTYINDENT_STD, 0);
|
-PRETTYINDENT_STD, PRETTYINDENT_STD, 0);
|
||||||
get_rule_expr(query->limitCount, context, false);
|
get_rule_expr(query->limitCount, context, false);
|
||||||
appendStringInfo(buf, ") ROWS WITH TIES");
|
appendStringInfoString(buf, ") ROWS WITH TIES");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -8446,7 +8446,7 @@ get_range_partbound_string(List *bound_datums)
|
||||||
memset(&context, 0, sizeof(deparse_context));
|
memset(&context, 0, sizeof(deparse_context));
|
||||||
context.buf = buf;
|
context.buf = buf;
|
||||||
|
|
||||||
appendStringInfoString(buf, "(");
|
appendStringInfoChar(buf, '(');
|
||||||
sep = "";
|
sep = "";
|
||||||
foreach(cell, bound_datums)
|
foreach(cell, bound_datums)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue