From: Neil Conway Date: Mon, 7 Jan 2008 21:33:10 +0000 (+0000) Subject: Fix a minor bug in outfuncs support for SetOp: dupOperators is an array X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=f96a8906c10aa0abbbd3be18444fe7585ef67908;p=users%2Fbernd%2Fpostgres.git Fix a minor bug in outfuncs support for SetOp: dupOperators is an array of Oid, and therefore should use the "%u" escape sequence rather than "%d". --- diff --git a/src/backend/nodes/outfuncs.c b/src/backend/nodes/outfuncs.c index e1134000a1..41c620686d 100644 --- a/src/backend/nodes/outfuncs.c +++ b/src/backend/nodes/outfuncs.c @@ -600,7 +600,7 @@ _outSetOp(StringInfo str, SetOp *node) appendStringInfo(str, " :dupOperators"); for (i = 0; i < node->numCols; i++) - appendStringInfo(str, " %d", node->dupOperators[i]); + appendStringInfo(str, " %u", node->dupOperators[i]); WRITE_INT_FIELD(flagColIdx); }