*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: outfuncs.c,v 1.53 1998/12/15 02:24:15 scrappy Exp $
+ * $Id: outfuncs.c,v 1.54 1998/12/15 02:32:57 scrappy Exp $
*
* NOTES
* Every (plan) node in POSTGRES has an associated "out" routine which
appendStringInfo(str,
" TYPENAME :name %s :timezone %s :setof %s typmod %d :arrayBounds ",
node->name,
- node->timezone ? "true" : "false,
+ node->timezone ? "true" : "false",
node->setof ? "true" : "false",
- node->typemod);
+ node->typmod);
appendStringInfo(str, " :arrayBounds ");
_outNode(str, node->arrayBounds);
appendStringInfo(str, " :initplan ");
_outNode(str, node->initPlan);
- appendStringInfo(str, " :nprm %d ", node-nParamExec);
+ appendStringInfo(str, " :nprm %d ", node->nParamExec);
}
/*
appendStringInfo(str, " :mergeclauses ");
_outNode(str, node->mergeclauses);
- snprintf(buf, 500, " :mergejoinop %u ", node->mergejoinop);
appendStringInfo(str,
" :mergejoinop %u :mergerightorder %u :mergeleftorder %u ",
node->mergejoinop,
_outPlanInfo(str, (Plan *) node);
/* the actual Group fields */
- appendStringInfo(str, " :numCols %d :tuplePerGroup %s,
+ appendStringInfo(str, " :numCols %d :tuplePerGroup %s ",
node->numCols,
node->tuplePerGroup ? "true" : "false");
}
appendStringInfo(str, " :hashkey ");
_outNode(str, node->hashkey);
- sprintf(buf, " :hashtable 0x%x ", (int) (node->hashtable));
appendStringInfo(str, " :hashtable 0x%x :hashtablekey %d :hashtablesize %d ",
(int) node->hashtable,
node->hashtablekey,