Commit 4fe6f72b authored by Robert Haas's avatar Robert Haas

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.
parent dc943ad9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment