Print a MergeJoin's mergeNullsFirst array as bool, not int.

It's declared as being an array of bool, but it's printed
differently from the way bool and arrays of bool are handled
elsewhere.

Patch by Amit Kapila.  Anomaly noted independently by Amit Kapila
and KaiGai Kohei.
This commit is contained in:
Robert Haas 2015-09-23 10:53:29 -04:00
parent dc943ad952
commit 4fe6f72bda

@ -649,7 +649,7 @@ _outMergeJoin(StringInfo str, const MergeJoin *node)
appendStringInfoString(str, " :mergeNullsFirst");
for (i = 0; i < numCols; i++)
appendStringInfo(str, " %d", (int) node->mergeNullsFirst[i]);
appendStringInfo(str, " %s", booltostr(node->mergeNullsFirst[i]));
}
static void