|
11 | 11 | * |
12 | 12 | * |
13 | 13 | * IDENTIFICATION |
14 | | - * $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.15 1999/07/16 04:58:46 momjian Exp $ |
| 14 | + * $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.16 1999/11/23 20:06:51 momjian Exp $ |
15 | 15 | * |
16 | 16 | *------------------------------------------------------------------------- |
17 | 17 | */ |
|
81 | 81 | #include"executor/nodeHash.h" |
82 | 82 | #include"executor/nodeHashjoin.h" |
83 | 83 | #include"executor/nodeIndexscan.h" |
| 84 | +#include"executor/nodeTidscan.h" |
84 | 85 | #include"executor/nodeMaterial.h" |
85 | 86 | #include"executor/nodeMergejoin.h" |
86 | 87 | #include"executor/nodeNestloop.h" |
@@ -195,6 +196,10 @@ ExecInitNode(Plan *node, EState *estate, Plan *parent) |
195 | 196 | result=ExecInitHashJoin((HashJoin*)node,estate,parent); |
196 | 197 | break; |
197 | 198 |
|
| 199 | +caseT_TidScan: |
| 200 | +result=ExecInitTidScan((TidScan*)node,estate,parent); |
| 201 | +break; |
| 202 | + |
198 | 203 | default: |
199 | 204 | elog(ERROR,"ExecInitNode: node %d unsupported",nodeTag(node)); |
200 | 205 | result= FALSE; |
@@ -310,6 +315,10 @@ ExecProcNode(Plan *node, Plan *parent) |
310 | 315 | result=ExecHashJoin((HashJoin*)node); |
311 | 316 | break; |
312 | 317 |
|
| 318 | +caseT_TidScan: |
| 319 | +result=ExecTidScan((TidScan*)node); |
| 320 | +break; |
| 321 | + |
313 | 322 | default: |
314 | 323 | elog(ERROR,"ExecProcNode: node %d unsupported",nodeTag(node)); |
315 | 324 | result=NULL; |
@@ -381,6 +390,9 @@ ExecCountSlotsNode(Plan *node) |
381 | 390 | caseT_HashJoin: |
382 | 391 | returnExecCountSlotsHashJoin((HashJoin*)node); |
383 | 392 |
|
| 393 | +caseT_TidScan: |
| 394 | +returnExecCountSlotsTidScan((TidScan*)node); |
| 395 | + |
384 | 396 | default: |
385 | 397 | elog(ERROR,"ExecCountSlotsNode: node not yet supported: %d", |
386 | 398 | nodeTag(node)); |
@@ -497,6 +509,10 @@ ExecEndNode(Plan *node, Plan *parent) |
497 | 509 | ExecEndHashJoin((HashJoin*)node); |
498 | 510 | break; |
499 | 511 |
|
| 512 | +caseT_TidScan: |
| 513 | +ExecEndTidScan((TidScan*)node); |
| 514 | +break; |
| 515 | + |
500 | 516 | default: |
501 | 517 | elog(ERROR,"ExecEndNode: node %d unsupported",nodeTag(node)); |
502 | 518 | break; |
|