*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.4 1996/12/11 03:17:42 bryanh Exp $
+ * $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.5 1996/12/26 17:46:56 momjian Exp $
*
* NOTES
* Every (plan) node in POSTGRES has an associated "out" routine which
appendStringInfo(str,buf);
_outNode(str, node->mergeclauses);
- sprintf(buf, " :mergesortop %ud", node->mergesortop);
+ sprintf(buf, " :mergesortop %u", node->mergesortop);
appendStringInfo(str,buf);
- sprintf(buf, " :mergerightorder %ud", node->mergerightorder[0]);
+ sprintf(buf, " :mergerightorder %u", node->mergerightorder[0]);
appendStringInfo(str, buf);
- sprintf(buf, " :mergeleftorder %ud", node->mergeleftorder[0]);
+ sprintf(buf, " :mergeleftorder %u", node->mergeleftorder[0]);
appendStringInfo(str, buf);
}
appendStringInfo(str,buf);
_outNode(str, node->hashclauses);
- sprintf(buf, " :hashjoinop %ud",node->hashjoinop);
+ sprintf(buf, " :hashjoinop %u",node->hashjoinop);
appendStringInfo(str,buf);
sprintf(buf, " :hashjointable 0x%x", (int) node->hashjointable);
appendStringInfo(str,buf);
appendStringInfo(str,buf);
_outPlanInfo(str, (Plan*) node);
- sprintf(buf, " :tempid %ud", node->tempid);
+ sprintf(buf, " :tempid %u", node->tempid);
appendStringInfo(str,buf);
sprintf(buf, " :keycount %d", node->keycount);
appendStringInfo(str,buf);
appendStringInfo(str,buf);
_outPlanInfo(str, (Plan*) node);
- sprintf(buf, " :tempid %ud", node->tempid);
+ sprintf(buf, " :tempid %u", node->tempid);
appendStringInfo(str,buf);
sprintf(buf, " :keycount %d", node->keycount);
appendStringInfo(str,buf);
appendStringInfo(str,buf);
_outPlanInfo(str, (Plan*) node);
- sprintf(buf, " :tempid %ud", node->tempid);
+ sprintf(buf, " :tempid %u", node->tempid);
appendStringInfo(str,buf);
sprintf(buf, " :keycount %d", node->keycount);
appendStringInfo(str,buf);
appendStringInfo(str,buf);
sprintf(buf, " :resno %hd", node->resno);
appendStringInfo(str,buf);
- sprintf(buf, " :restype %ud", node->restype);
+ sprintf(buf, " :restype %u", node->restype);
appendStringInfo(str,buf);
sprintf(buf, " :reslen %d", node->reslen);
appendStringInfo(str,buf);
appendStringInfo(str,buf);
sprintf(buf, " :reskey %d", node->reskey);
appendStringInfo(str,buf);
- sprintf(buf, " :reskeyop %ud", node->reskeyop);
+ sprintf(buf, " :reskeyop %u", node->reskeyop);
appendStringInfo(str,buf);
sprintf(buf, " :resjunk %d", node->resjunk);
appendStringInfo(str,buf);
sprintf(buf, "EXPR");
appendStringInfo(str,buf);
- sprintf(buf, " :typeOid %d", node->typeOid);
+ sprintf(buf, " :typeOid %u", node->typeOid);
appendStringInfo(str,buf);
switch(node->opType) {
case OP_EXPR:
appendStringInfo(str,buf);
sprintf(buf, " :varattno %hd", node->varattno);
appendStringInfo(str,buf);
- sprintf(buf, " :vartype %d", node->vartype);
+ sprintf(buf, " :vartype %u", node->vartype);
appendStringInfo(str,buf);
sprintf(buf, " :varnoold %d", node->varnoold);
appendStringInfo(str,buf);
sprintf(buf, "CONST");
appendStringInfo(str,buf);
- sprintf(buf, " :consttype %d", node->consttype);
+ sprintf(buf, " :consttype %u", node->consttype);
appendStringInfo(str,buf);
sprintf(buf, " :constlen %hd", node->constlen);
appendStringInfo(str,buf);
appendStringInfo(str,buf);
sprintf(buf, " :aggname \"%.*s\"", NAMEDATALEN, (char*)node->aggname);
appendStringInfo(str,buf);
- sprintf(buf, " :basetype %d", node->basetype);
+ sprintf(buf, " :basetype %u", node->basetype);
appendStringInfo(str,buf);
- sprintf(buf, " :aggtype %d", node->aggtype);
+ sprintf(buf, " :aggtype %u", node->aggtype);
appendStringInfo(str,buf);
sprintf(buf, " :aggno %d", node->aggno);
appendStringInfo(str,buf);
int i;
sprintf(buf, "ARRAY");
appendStringInfo(str, buf);
- sprintf(buf, " :arrayelemtype %d", node->arrayelemtype);
+ sprintf(buf, " :arrayelemtype %u", node->arrayelemtype);
appendStringInfo(str, buf);
sprintf(buf, " :arrayelemlength %d", node->arrayelemlength);
appendStringInfo(str, buf);
sprintf(buf, "ARRAYREF");
appendStringInfo(str, buf);
- sprintf(buf, " :refelemtype %d", node->refelemtype);
+ sprintf(buf, " :refelemtype %u", node->refelemtype);
appendStringInfo(str, buf);
sprintf(buf, " :refattrlength %d", node->refattrlength);
appendStringInfo(str, buf);
sprintf(buf, "FUNC");
appendStringInfo(str,buf);
- sprintf(buf, " :funcid %d", node->funcid);
+ sprintf(buf, " :funcid %u", node->funcid);
appendStringInfo(str,buf);
- sprintf(buf, " :functype %d", node->functype);
+ sprintf(buf, " :functype %u", node->functype);
appendStringInfo(str,buf);
sprintf(buf, " :funcisindex %s",
(node->funcisindex ? "true" : "nil"));
sprintf(buf, "OPER");
appendStringInfo(str,buf);
- sprintf(buf, " :opno %d", node->opno);
+ sprintf(buf, " :opno %u", node->opno);
appendStringInfo(str,buf);
- sprintf(buf, " :opid %d", node->opid);
+ sprintf(buf, " :opid %u", node->opid);
appendStringInfo(str,buf);
- sprintf(buf, " :opresulttype %d", node->opresulttype);
+ sprintf(buf, " :opresulttype %u", node->opresulttype);
appendStringInfo(str,buf);
}
appendStringInfo(str,buf);
sprintf(buf, " :paramname \"%.*s\"", NAMEDATALEN, node->paramname);
appendStringInfo(str,buf);
- sprintf(buf, " :paramtype %d", node->paramtype);
+ sprintf(buf, " :paramtype %u", node->paramtype);
appendStringInfo(str,buf);
appendStringInfo(str, " :param_tlist ");
((node->refname) ? ((char *) node->refname) : "null"));
appendStringInfo(str,buf);
- sprintf(buf, " :relid %d ", node->relid);
+ sprintf(buf, " :relid %u ", node->relid);
appendStringInfo(str,buf);
}
appendStringInfo(str,buf);
_outNode(str, node->mergesortorder);
- sprintf(buf, " :hashjoinoperator %d", node->hashjoinoperator);
+ sprintf(buf, " :hashjoinoperator %u", node->hashjoinoperator);
appendStringInfo(str,buf);
}
sprintf(buf, " :hashop ");
appendStringInfo(str,buf);
- sprintf(buf, "%d",node->hashop);
+ sprintf(buf, "%u",node->hashop);
appendStringInfo(str,buf);
sprintf(buf, " :jmkeys ");