Skip to content

Commit 4fe6f72

Browse files
committed
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.
1 parent dc943ad commit 4fe6f72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/nodes/outfuncs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ _outMergeJoin(StringInfo str, const MergeJoin *node)
649649

650650
appendStringInfoString(str, " :mergeNullsFirst");
651651
for (i = 0; i < numCols; i++)
652-
appendStringInfo(str, " %d", (int) node->mergeNullsFirst[i]);
652+
appendStringInfo(str, " %s", booltostr(node->mergeNullsFirst[i]));
653653
}
654654

655655
static void

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy