Content-Length: 259446 | pFad | http://github.com/postgrespro/postgres_cluster/commit/4fe6f72bda7b4c3eb39560e3da50a093d833647d

E7 Print a MergeJoin's mergeNullsFirst array as bool, not int. · postgrespro/postgres_cluster@4fe6f72 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/4fe6f72bda7b4c3eb39560e3da50a093d833647d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy