|
5 | 5 | * |
6 | 6 | * Copyright (c) 1994, Regents of the University of California |
7 | 7 | * |
8 | | - * $Id: outfuncs.c,v 1.53 1998/12/15 02:24:15 scrappy Exp $ |
| 8 | + * $Id: outfuncs.c,v 1.54 1998/12/15 02:32:57 scrappy Exp $ |
9 | 9 | * |
10 | 10 | * NOTES |
11 | 11 | * Every (plan) node in POSTGRES has an associated "out" routine which |
@@ -132,9 +132,9 @@ _outTypeName(StringInfo str, TypeName *node) |
132 | 132 | appendStringInfo(str, |
133 | 133 | " TYPENAME :name %s :timezone %s :setof %s typmod %d :arrayBounds ", |
134 | 134 | node->name, |
135 | | -node->timezone ?"true" :"false, |
| 135 | +node->timezone ?"true" :"false", |
136 | 136 | node->setof ?"true" :"false", |
137 | | -node->typemod); |
| 137 | +node->typmod); |
138 | 138 |
|
139 | 139 | appendStringInfo(str," :arrayBounds "); |
140 | 140 | _outNode(str,node->arrayBounds); |
@@ -274,7 +274,7 @@ _outPlanInfo(StringInfo str, Plan *node) |
274 | 274 | appendStringInfo(str," :initplan "); |
275 | 275 | _outNode(str,node->initPlan); |
276 | 276 |
|
277 | | -appendStringInfo(str," :nprm %d ",node-nParamExec); |
| 277 | +appendStringInfo(str," :nprm %d ",node->nParamExec); |
278 | 278 | } |
279 | 279 |
|
280 | 280 | /* |
@@ -353,7 +353,6 @@ _outMergeJoin(StringInfo str, MergeJoin *node) |
353 | 353 | appendStringInfo(str," :mergeclauses "); |
354 | 354 | _outNode(str,node->mergeclauses); |
355 | 355 |
|
356 | | -snprintf(buf,500," :mergejoinop %u ",node->mergejoinop); |
357 | 356 | appendStringInfo(str, |
358 | 357 | " :mergejoinop %u :mergerightorder %u :mergeleftorder %u ", |
359 | 358 | node->mergejoinop, |
@@ -494,7 +493,7 @@ _outGroup(StringInfo str, Group *node) |
494 | 493 | _outPlanInfo(str, (Plan*)node); |
495 | 494 |
|
496 | 495 | /* the actual Group fields */ |
497 | | -appendStringInfo(str," :numCols %d :tuplePerGroup %s, |
| 496 | +appendStringInfo(str," :numCols %d :tuplePerGroup %s ", |
498 | 497 | node->numCols, |
499 | 498 | node->tuplePerGroup ?"true" :"false"); |
500 | 499 | } |
@@ -526,7 +525,6 @@ _outHash(StringInfo str, Hash *node) |
526 | 525 | appendStringInfo(str," :hashkey "); |
527 | 526 | _outNode(str,node->hashkey); |
528 | 527 |
|
529 | | -sprintf(buf," :hashtable 0x%x ", (int) (node->hashtable)); |
530 | 528 | appendStringInfo(str," :hashtable 0x%x :hashtablekey %d :hashtablesize %d ", |
531 | 529 | (int)node->hashtable, |
532 | 530 | node->hashtablekey, |
|