head	1.43;
access;
symbols
	release_4_2:1.43
	aix_ok:1.42
	Version_2_1:1.28
	Version_2:1.18
	C_Demo_1:1.3;
locks; strict;
comment	@ * @;


1.43
date	94.02.07.12.07.00;	author aoki;	state Exp;
branches;
next	1.42;

1.42
date	93.09.26.00.15.06;	author paxson;	state Exp;
branches;
next	1.41;

1.41
date	92.08.21.05.43.52;	author mer;	state Exp;
branches;
next	1.40;

1.40
date	92.07.13.10.32.44;	author hong;	state Exp;
branches;
next	1.39;

1.39
date	92.07.13.07.39.10;	author hong;	state Exp;
branches;
next	1.38;

1.38
date	92.07.09.03.56.09;	author hong;	state Exp;
branches;
next	1.37;

1.37
date	92.03.31.23.15.14;	author mer;	state Exp;
branches;
next	1.36;

1.36
date	91.11.11.19.22.37;	author glass;	state Exp;
branches;
next	1.35;

1.35
date	91.10.18.08.26.02;	author mer;	state Exp;
branches;
next	1.34;

1.34
date	91.09.22.22.04.31;	author hong;	state Exp;
branches;
next	1.33;

1.33
date	91.08.15.17.47.19;	author caetta;	state Exp;
branches;
next	1.32;

1.32
date	91.07.17.23.50.38;	author hong;	state Exp;
branches;
next	1.31;

1.31
date	91.06.18.23.55.18;	author cimarron;	state Exp;
branches;
next	1.30;

1.30
date	91.04.11.21.27.26;	author sp;	state Exp;
branches;
next	1.29;

1.29
date	91.03.22.01.04.05;	author cimarron;	state Exp;
branches;
next	1.28;

1.28
date	91.01.18.20.38.35;	author cimarron;	state Exp;
branches;
next	1.27;

1.27
date	91.01.17.18.56.37;	author sp;	state Exp;
branches;
next	1.26;

1.26
date	90.11.10.12.28.20;	author hong;	state Exp;
branches;
next	1.25;

1.25
date	90.11.07.12.01.54;	author hong;	state Exp;
branches;
next	1.24;

1.24
date	90.10.11.10.35.41;	author cimarron;	state Exp;
branches;
next	1.23;

1.23
date	90.10.01.07.46.15;	author cimarron;	state Exp;
branches;
next	1.22;

1.22
date	90.10.01.01.15.24;	author cimarron;	state Exp;
branches;
next	1.21;

1.21
date	90.09.06.14.16.31;	author hong;	state Exp;
branches;
next	1.20;

1.20
date	90.08.18.17.13.42;	author sp;	state Exp;
branches;
next	1.19;

1.19
date	90.08.17.13.35.08;	author hong;	state Exp;
branches;
next	1.18;

1.18
date	90.06.26.23.02.14;	author hong;	state Version_2;
branches;
next	1.17;

1.17
date	90.06.13.01.50.47;	author hong;	state Exp;
branches;
next	1.16;

1.16
date	90.04.19.19.40.28;	author sp;	state Exp;
branches;
next	1.15;

1.15
date	90.04.03.17.01.38;	author sp;	state Exp;
branches;
next	1.14;

1.14
date	90.03.07.17.09.01;	author sp;	state Exp;
branches;
next	1.13;

1.13
date	90.02.01.13.51.30;	author cimarron;	state Exp;
branches;
next	1.12;

1.12
date	90.01.24.16.26.57;	author jamesb;	state Exp;
branches;
next	1.11;

1.11
date	90.01.11.17.42.59;	author sp;	state Exp;
branches;
next	1.10;

1.10
date	89.11.02.18.05.28;	author cimarron;	state Exp;
branches;
next	1.9;

1.9
date	89.10.18.00.43.36;	author cimarron;	state Exp;
branches;
next	1.8;

1.8
date	89.10.17.14.07.13;	author cimarron;	state Exp;
branches;
next	1.7;

1.7
date	89.10.13.01.38.14;	author sp;	state Exp;
branches;
next	1.6;

1.6
date	89.10.12.16.43.52;	author cimarron;	state Exp;
branches;
next	1.5;

1.5
date	89.09.18.20.25.19;	author cimarron;	state Exp;
branches;
next	1.4;

1.4
date	89.09.18.08.02.52;	author cimarron;	state Exp;
branches;
next	1.3;

1.3
date	89.09.05.17.05.45;	author mao;	state C_Demo_1;
branches;
next	1.2;

1.2
date	89.08.24.18.09.31;	author cimarron;	state Exp;
branches;
next	1.1;

1.1
date	89.08.10.00.24.35;	author hirohama;	state Exp;
branches;
next	;


desc
@@


1.43
log
@proto fixes
@
text
@/* ----------------------------------------------------------------
 *   FILE
 *	execnodes.h
 *
 *   DESCRIPTION
 *	prototypes for execnodes.c.
 *
 *   NOTES
 *	Automatically generated using mkproto
 *
 *   IDENTIFICATION
 *	$Header$
 * ----------------------------------------------------------------
 */

#ifndef execnodesIncluded		/* include this file only once */
#define execnodesIncluded	1

extern void RInitIndexInfo ARGS((Pointer p));
extern IndexInfo MakeIndexInfo ARGS((int ii_NumKeyAttributes, AttributeNumberPtr ii_KeyAttributeNumbers, FuncIndexInfoPtr ii_FuncIndexInfo, List ii_Predicate));
extern void OutIndexInfo ARGS((StringInfo str, IndexInfo node));
extern bool EqualIndexInfo ARGS((IndexInfo a, IndexInfo b));
extern bool CopyIndexInfo ARGS((IndexInfo from, IndexInfo *to, char *(*alloc)()));
extern IndexInfo IMakeIndexInfo ARGS((int ii_NumKeyAttributes, AttributeNumberPtr ii_KeyAttributeNumbers, FuncIndexInfoPtr ii_FuncIndexInfo, List ii_Predicate));
extern IndexInfo RMakeIndexInfo ARGS((void));
extern void RInitRelationInfo ARGS((Pointer p));
extern RelationInfo MakeRelationInfo ARGS((Index ri_RangeTableIndex, Relation ri_RelationDesc, int ri_NumIndices, RelationPtr ri_IndexRelationDescs, IndexInfoPtr ri_IndexRelationInfo));
extern void OutRelationInfo ARGS((StringInfo str, RelationInfo node));
extern bool EqualRelationInfo ARGS((RelationInfo a, RelationInfo b));
extern bool CopyRelationInfo ARGS((RelationInfo from, RelationInfo *to, char *(*alloc)()));
extern RelationInfo IMakeRelationInfo ARGS((Index ri_RangeTableIndex, Relation ri_RelationDesc, int ri_NumIndices, RelationPtr ri_IndexRelationDescs, IndexInfoPtr ri_IndexRelationInfo));
extern RelationInfo RMakeRelationInfo ARGS((void));
extern void RInitTupleCount ARGS((Pointer p));
extern TupleCount MakeTupleCount ARGS((int tc_retrieved, int tc_appended, int tc_deleted, int tc_replaced, int tc_inserted, int tc_processed));
extern void OutTupleCount ARGS((StringInfo str, TupleCount node));
extern bool EqualTupleCount ARGS((TupleCount a, TupleCount b));
extern bool CopyTupleCount ARGS((TupleCount from, TupleCount *to, char *(*alloc)()));
extern TupleCount IMakeTupleCount ARGS((int tc_retrieved, int tc_appended, int tc_deleted, int tc_replaced, int tc_inserted, int tc_processed));
extern TupleCount RMakeTupleCount ARGS((void));
extern void RInitTupleTableSlot ARGS((Pointer p));
extern TupleTableSlot MakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor, ExecTupDescriptor ttc_execTupDescriptor, Buffer ttc_buffer, int ttc_whichplan));
extern void OutTupleTableSlot ARGS((StringInfo str, TupleTableSlot node));
extern bool EqualTupleTableSlot ARGS((TupleTableSlot a, TupleTableSlot b));
extern bool CopyTupleTableSlot ARGS((TupleTableSlot from, TupleTableSlot *to, char *(*alloc)()));
extern TupleTableSlot IMakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor, ExecTupDescriptor ttc_execTupDescriptor, Buffer ttc_buffer, int ttc_whichplan));
extern TupleTableSlot RMakeTupleTableSlot ARGS((void));
extern void RInitExprContext ARGS((Pointer p));
extern ExprContext MakeExprContext ARGS((TupleTableSlot ecxt_scantuple, TupleTableSlot ecxt_innertuple, TupleTableSlot ecxt_outertuple, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info, List ecxt_range_table));
extern void OutExprContext ARGS((StringInfo str, ExprContext node));
extern bool EqualExprContext ARGS((ExprContext a, ExprContext b));
extern bool CopyExprContext ARGS((ExprContext from, ExprContext *to, char *(*alloc)()));
extern ExprContext IMakeExprContext ARGS((TupleTableSlot ecxt_scantuple, TupleTableSlot ecxt_innertuple, TupleTableSlot ecxt_outertuple, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info, List ecxt_range_table));
extern ExprContext RMakeExprContext ARGS((void));
extern void RInitProjectionInfo ARGS((Pointer p));
extern ProjectionInfo MakeProjectionInfo ARGS((List pi_targetlist, int pi_len, Pointer pi_tupValue, ExprContext pi_exprContext, TupleTableSlot pi_slot));
extern void OutProjectionInfo ARGS((StringInfo str, ProjectionInfo node));
extern bool EqualProjectionInfo ARGS((ProjectionInfo a, ProjectionInfo b));
extern bool CopyProjectionInfo ARGS((ProjectionInfo from, ProjectionInfo *to, char *(*alloc)()));
extern ProjectionInfo IMakeProjectionInfo ARGS((List pi_targetlist, int pi_len, Pointer pi_tupValue, ExprContext pi_exprContext, TupleTableSlot pi_slot));
extern ProjectionInfo RMakeProjectionInfo ARGS((void));
extern void RInitJunkFilter ARGS((Pointer p));
extern JunkFilter MakeJunkFilter ARGS((List jf_targetList, int jf_length, TupleDescriptor jf_tupType, List jf_cleanTargetList, int jf_cleanLength, TupleDescriptor jf_cleanTupType, AttributeNumberPtr jf_cleanMap));
extern void OutJunkFilter ARGS((StringInfo str, JunkFilter node));
extern bool EqualJunkFilter ARGS((JunkFilter a, JunkFilter b));
extern bool CopyJunkFilter ARGS((JunkFilter from, JunkFilter *to, char *(*alloc)()));
extern JunkFilter IMakeJunkFilter ARGS((List jf_targetList, int jf_length, TupleDescriptor jf_tupType, List jf_cleanTargetList, int jf_cleanLength, TupleDescriptor jf_cleanTupType, AttributeNumberPtr jf_cleanMap));
extern JunkFilter RMakeJunkFilter ARGS((void));
extern void RInitEState ARGS((Pointer p));
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, int es_junkFilter, Pointer es_result_rel_scanstate, int es_whichplan, int es_result_relation_info_list, int es_junkFilter_list, int es_result_rel_ruleinfo, int es_refcount));
extern void OutEState ARGS((StringInfo str, EState node));
extern bool EqualEState ARGS((EState a, EState b));
extern bool CopyEState ARGS((EState from, EState *to, char *(*alloc)()));
extern EState IMakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, int es_junkFilter, Pointer es_result_rel_scanstate, int es_whichplan, int es_result_relation_info_list, int es_junkFilter_list, int es_result_rel_ruleinfo, int es_refcount));
extern EState RMakeEState ARGS((void));
extern void RInitHookNode ARGS((Pointer p));
extern HookNode MakeHookNode ARGS((HookFunction hook_at_initnode, HookFunction hook_pre_procnode, HookFunction hook_pre_endnode, HookFunction hook_post_initnode, HookFunction hook_post_procnode, HookFunction hook_post_endnode, Pointer hook_data));
extern void OutHookNode ARGS((StringInfo str, HookNode node));
extern bool EqualHookNode ARGS((HookNode a, HookNode b));
extern bool CopyHookNode ARGS((HookNode from, HookNode *to, char *(*alloc)()));
extern HookNode IMakeHookNode ARGS((HookFunction hook_at_initnode, HookFunction hook_pre_procnode, HookFunction hook_pre_endnode, HookFunction hook_post_initnode, HookFunction hook_post_procnode, HookFunction hook_post_endnode, Pointer hook_data));
extern HookNode RMakeHookNode ARGS((void));
extern void RInitBaseNode ARGS((Pointer p));
extern BaseNode MakeBaseNode ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook));
extern void OutBaseNode ARGS((StringInfo str, BaseNode node));
extern bool EqualBaseNode ARGS((BaseNode a, BaseNode b));
extern bool CopyBaseNode ARGS((BaseNode from, BaseNode *to, char *(*alloc)()));
extern BaseNode IMakeBaseNode ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook));
extern BaseNode RMakeBaseNode ARGS((void));
extern void RInitCommonState ARGS((Pointer p));
extern CommonState MakeCommonState ARGS((TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, bool cs_TupFromTlist));
extern void OutCommonState ARGS((StringInfo str, CommonState node));
extern bool EqualCommonState ARGS((CommonState a, CommonState b));
extern bool CopyCommonState ARGS((CommonState from, CommonState *to, char *(*alloc)()));
extern CommonState IMakeCommonState ARGS((TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, bool cs_TupFromTlist));
extern CommonState RMakeCommonState ARGS((void));
extern void RInitResultState ARGS((Pointer p));
extern ResultState MakeResultState ARGS((int rs_Loop));
extern void OutResultState ARGS((StringInfo str, ResultState node));
extern bool EqualResultState ARGS((ResultState a, ResultState b));
extern bool CopyResultState ARGS((ResultState from, ResultState *to, char *(*alloc)()));
extern ResultState IMakeResultState ARGS((int rs_Loop));
extern ResultState RMakeResultState ARGS((void));
extern void RInitAppendState ARGS((Pointer p));
extern AppendState MakeAppendState ARGS((int as_whichplan, int as_nplans, ListPtr as_initialized, List as_rtentries));
extern void OutAppendState ARGS((StringInfo str, AppendState node));
extern bool EqualAppendState ARGS((AppendState a, AppendState b));
extern bool CopyAppendState ARGS((AppendState from, AppendState *to, char *(*alloc)()));
extern AppendState IMakeAppendState ARGS((int as_whichplan, int as_nplans, ListPtr as_initialized, List as_rtentries));
extern AppendState RMakeAppendState ARGS((void));
extern void RInitCommonScanState ARGS((Pointer p));
extern CommonScanState MakeCommonScanState ARGS((Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, TupleTableSlot css_ScanTupleSlot, TupleTableSlot css_RawTupleSlot));
extern void OutCommonScanState ARGS((StringInfo str, CommonScanState node));
extern bool EqualCommonScanState ARGS((CommonScanState a, CommonScanState b));
extern bool CopyCommonScanState ARGS((CommonScanState from, CommonScanState *to, char *(*alloc)()));
extern CommonScanState IMakeCommonScanState ARGS((Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, TupleTableSlot css_ScanTupleSlot, TupleTableSlot css_RawTupleSlot));
extern CommonScanState RMakeCommonScanState ARGS((void));
extern void RInitScanState ARGS((Pointer p));
extern ScanState MakeScanState ARGS((bool ss_ProcOuterFlag, Index ss_OldRelId));
extern void OutScanState ARGS((StringInfo str, ScanState node));
extern bool EqualScanState ARGS((ScanState a, ScanState b));
extern bool CopyScanState ARGS((ScanState from, ScanState *to, char *(*alloc)()));
extern ScanState IMakeScanState ARGS((bool ss_ProcOuterFlag, Index ss_OldRelId));
extern ScanState RMakeScanState ARGS((void));
extern void RInitScanTempState ARGS((Pointer p));
extern ScanTempState MakeScanTempState ARGS((int st_whichplan, int st_nplans));
extern void OutScanTempState ARGS((StringInfo str, ScanTempState node));
extern bool EqualScanTempState ARGS((ScanTempState a, ScanTempState b));
extern bool CopyScanTempState ARGS((ScanTempState from, ScanTempState *to, char *(*alloc)()));
extern ScanTempState IMakeScanTempState ARGS((int st_whichplan, int st_nplans));
extern ScanTempState RMakeScanTempState ARGS((void));
extern void RInitIndexScanState ARGS((Pointer p));
extern IndexScanState MakeIndexScanState ARGS((int iss_NumIndices, int iss_IndexPtr, ScanKeyPtr iss_ScanKeys, IntPtr iss_NumScanKeys, Pointer iss_RuntimeKeyInfo, RelationPtr iss_RelationDescs, IndexScanDescPtr iss_ScanDescs));
extern void OutIndexScanState ARGS((StringInfo str, IndexScanState node));
extern bool EqualIndexScanState ARGS((IndexScanState a, IndexScanState b));
extern bool CopyIndexScanState ARGS((IndexScanState from, IndexScanState *to, char *(*alloc)()));
extern IndexScanState IMakeIndexScanState ARGS((int iss_NumIndices, int iss_IndexPtr, ScanKeyPtr iss_ScanKeys, IntPtr iss_NumScanKeys, Pointer iss_RuntimeKeyInfo, RelationPtr iss_RelationDescs, IndexScanDescPtr iss_ScanDescs));
extern IndexScanState RMakeIndexScanState ARGS((void));
extern void RInitJoinState ARGS((Pointer p));
extern JoinState MakeJoinState ARGS((int iss_NumIndices));
extern void OutJoinState ARGS((StringInfo str, JoinState node));
extern bool EqualJoinState ARGS((JoinState a, JoinState b));
extern bool CopyJoinState ARGS((JoinState from, JoinState *to, char *(*alloc)()));
extern JoinState IMakeJoinState ARGS((void));
extern JoinState RMakeJoinState ARGS((void));
extern void RInitNestLoopState ARGS((Pointer p));
extern NestLoopState MakeNestLoopState ARGS((bool nl_PortalFlag));
extern void OutNestLoopState ARGS((StringInfo str, NestLoopState node));
extern bool EqualNestLoopState ARGS((NestLoopState a, NestLoopState b));
extern bool CopyNestLoopState ARGS((NestLoopState from, NestLoopState *to, char *(*alloc)()));
extern NestLoopState IMakeNestLoopState ARGS((bool nl_PortalFlag));
extern NestLoopState RMakeNestLoopState ARGS((void));
extern void RInitMergeJoinState ARGS((Pointer p));
extern MergeJoinState MakeMergeJoinState ARGS((List mj_OSortopI, List mj_ISortopO, int mj_JoinState, TupleTableSlot mj_MarkedTupleSlot));
extern void OutMergeJoinState ARGS((StringInfo str, MergeJoinState node));
extern bool EqualMergeJoinState ARGS((MergeJoinState a, MergeJoinState b));
extern bool CopyMergeJoinState ARGS((MergeJoinState from, MergeJoinState *to, char *(*alloc)()));
extern MergeJoinState IMakeMergeJoinState ARGS((List mj_OSortopI, List mj_ISortopO, int mj_JoinState, TupleTableSlot mj_MarkedTupleSlot));
extern MergeJoinState RMakeMergeJoinState ARGS((void));
extern void RInitHashJoinState ARGS((Pointer p));
extern HashJoinState MakeHashJoinState ARGS((HashJoinTable hj_HashTable, IpcMemoryId hj_HashTableShmId, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, OverflowTuple hj_CurOTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_OuterTupleSlot, Pointer hj_HashTupleSlot));
extern void OutHashJoinState ARGS((StringInfo str, HashJoinState node));
extern bool EqualHashJoinState ARGS((HashJoinState a, HashJoinState b));
extern bool CopyHashJoinState ARGS((HashJoinState from, HashJoinState *to, char *(*alloc)()));
extern HashJoinState IMakeHashJoinState ARGS((HashJoinTable hj_HashTable, IpcMemoryId hj_HashTableShmId, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, OverflowTuple hj_CurOTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_OuterTupleSlot, Pointer hj_HashTupleSlot));
extern HashJoinState RMakeHashJoinState ARGS((void));
extern void RInitMaterialState ARGS((Pointer p));
extern MaterialState MakeMaterialState ARGS((bool mat_Flag, Relation mat_TempRelation));
extern void OutMaterialState ARGS((StringInfo str, MaterialState node));
extern bool EqualMaterialState ARGS((MaterialState a, MaterialState b));
extern bool CopyMaterialState ARGS((MaterialState from, MaterialState *to, char *(*alloc)()));
extern MaterialState IMakeMaterialState ARGS((bool mat_Flag, Relation mat_TempRelation));
extern MaterialState RMakeMaterialState ARGS((void));
extern void RInitAggState ARGS((Pointer p));
extern AggState MakeAggState ARGS((bool agg_Flag, Relation agg_TempRelation));
extern void OutAggState ARGS((StringInfo str, AggState node));
extern bool EqualAggState ARGS((AggState a, AggState b));
extern bool CopyAggState ARGS((AggState from, AggState *to, char *(*alloc)()));
extern AggState IMakeAggState ARGS((bool agg_Flag, Relation agg_TempRelation));
extern AggState RMakeAggState ARGS((void));
extern void RInitSortState ARGS((Pointer p));
extern SortState MakeSortState ARGS((bool sort_Flag, Pointer sort_Keys, Relation sort_TempRelation));
extern void OutSortState ARGS((StringInfo str, SortState node));
extern bool EqualSortState ARGS((SortState a, SortState b));
extern bool CopySortState ARGS((SortState from, SortState *to, char *(*alloc)()));
extern SortState IMakeSortState ARGS((bool sort_Flag, Pointer sort_Keys, Relation sort_TempRelation));
extern SortState RMakeSortState ARGS((void));
extern void RInitUniqueState ARGS((Pointer p));
extern UniqueState MakeUniqueState ARGS((int sort_Flag));
extern void OutUniqueState ARGS((StringInfo str, UniqueState node));
extern bool EqualUniqueState ARGS((UniqueState a, UniqueState b));
extern bool CopyUniqueState ARGS((UniqueState from, UniqueState *to, char *(*alloc)()));
extern UniqueState IMakeUniqueState ARGS((void));
extern UniqueState RMakeUniqueState ARGS((void));
extern void RInitHashState ARGS((Pointer p));
extern HashState MakeHashState ARGS((FileP hashBatches));
extern void OutHashState ARGS((StringInfo str, HashState node));
extern bool EqualHashState ARGS((HashState a, HashState b));
extern bool CopyHashState ARGS((HashState from, HashState *to, char *(*alloc)()));
extern HashState IMakeHashState ARGS((FileP hashBatches));
extern HashState RMakeHashState ARGS((void));

#endif /* execnodesIncluded */
@


1.42
log
@fixed prototype for MakeAggState, which had an extra parameter
@
text
@d1 14
a14 1
/* $Header: /usr/local/devel/postgres/src/backend/nodes/RCS/execnodes.a.h,v 1.41 1992/08/21 05:43:52 mer Exp $ */
d16 3
d20 1
a20 1
extern IndexInfo MakeIndexInfo ARGS((int ii_NumKeyAttributes, AttributeNumberPtr ii_KeyAttributeNumbers));
d23 3
a25 2
extern bool CopyIndexInfo ARGS((IndexInfo from, IndexInfo *to, int alloc));
extern IndexInfo IMakeIndexInfo ARGS((int ii_NumKeyAttributes, AttributeNumberPtr ii_KeyAttributeNumbers));
d30 1
a30 1
extern bool CopyRelationInfo ARGS((RelationInfo from, RelationInfo *to, int alloc));
d32 1
d37 1
a37 1
extern bool CopyTupleCount ARGS((TupleCount from, TupleCount *to, int alloc));
d39 1
d44 1
a44 1
extern bool CopyTupleTableSlot ARGS((TupleTableSlot from, TupleTableSlot *to, int alloc));
d46 1
d51 1
a51 1
extern bool CopyExprContext ARGS((ExprContext from, ExprContext *to, int alloc));
d53 1
d58 1
a58 1
extern bool CopyProjectionInfo ARGS((ProjectionInfo from, ProjectionInfo *to, int alloc));
d60 1
d65 1
a65 1
extern bool CopyJunkFilter ARGS((JunkFilter from, JunkFilter *to, int alloc));
d67 1
d69 1
a69 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter, Pointer es_result_rel_scanstate, RelationRuleInfo es_result_rel_ruleinfo, int *es_refcount));
d72 3
a74 2
extern bool CopyEState ARGS((EState from, EState *to, int alloc));
extern EState IMakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter, Pointer es_result_rel_scanstate, RelationRuleInfo es_result_rel_ruleinfo, int *es_refcount));
d79 1
a79 1
extern bool CopyHookNode ARGS((HookNode from, HookNode *to, int alloc));
d81 1
d86 1
a86 1
extern bool CopyBaseNode ARGS((BaseNode from, BaseNode *to, int alloc));
d88 1
d90 1
a90 1
extern CommonState MakeCommonState ARGS((TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes));
d93 3
a95 2
extern bool CopyCommonState ARGS((CommonState from, CommonState *to, int alloc));
extern CommonState IMakeCommonState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes));
d100 3
a102 2
extern bool CopyResultState ARGS((ResultState from, ResultState *to, int alloc));
extern ResultState IMakeResultState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, int rs_Loop));
d107 3
a109 2
extern bool CopyAppendState ARGS((AppendState from, AppendState *to, int alloc));
extern AppendState IMakeAppendState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, int as_whichplan, int as_nplans, ListPtr as_initialized, List as_rtentries));
d111 1
a111 1
extern CommonScanState MakeCommonScanState ARGS((Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot));
d114 3
a116 2
extern bool CopyCommonScanState ARGS((CommonScanState from, CommonScanState *to, int alloc));
extern CommonScanState IMakeCommonScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot));
d121 3
a123 2
extern bool CopyScanState ARGS((ScanState from, ScanState *to, int alloc));
extern ScanState IMakeScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool ss_ProcOuterFlag, Index ss_OldRelId));
d128 3
a130 2
extern bool CopyScanTempState ARGS((ScanTempState from, ScanTempState *to, int alloc));
extern ScanTempState IMakeScanTempState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, int st_whichplan, int st_nplans));
d135 3
a137 2
extern bool CopyIndexScanState ARGS((IndexScanState from, IndexScanState *to, int alloc));
extern IndexScanState IMakeIndexScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, int iss_NumIndices, int iss_IndexPtr, ScanKeyPtr iss_ScanKeys, IntPtr iss_NumScanKeys, Pointer iss_RuntimeKeyInfo, RelationPtr iss_RelationDescs, IndexScanDescPtr iss_ScanDescs));
d142 3
a144 2
extern bool CopyJoinState ARGS((JoinState from, JoinState *to, int alloc));
extern JoinState IMakeJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes));
d149 3
a151 2
extern bool CopyNestLoopState ARGS((NestLoopState from, NestLoopState *to, int alloc));
extern NestLoopState IMakeNestLoopState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, bool nl_PortalFlag));
d156 3
a158 2
extern bool CopyMergeJoinState ARGS((MergeJoinState from, MergeJoinState *to, int alloc));
extern MergeJoinState IMakeMergeJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, List mj_OSortopI, List mj_ISortopO, int mj_JoinState, TupleTableSlot mj_MarkedTupleSlot));
d163 3
a165 2
extern bool CopyHashJoinState ARGS((HashJoinState from, HashJoinState *to, int alloc));
extern HashJoinState IMakeHashJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, HashJoinTable hj_HashTable, IpcMemoryId hj_HashTableShmId, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, OverflowTuple hj_CurOTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_OuterTupleSlot, Pointer hj_HashTupleSlot));
d170 3
a172 2
extern bool CopyMaterialState ARGS((MaterialState from, MaterialState *to, int alloc));
extern MaterialState IMakeMaterialState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool mat_Flag, Relation mat_TempRelation));
d177 3
a179 2
extern bool CopyAggState ARGS((AggState from, AggState *to, int alloc));
extern AggState IMakeAggState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot,  ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool agg_Flag, Relation agg_TempRelation));
d184 3
a186 2
extern bool CopySortState ARGS((SortState from, SortState *to, int alloc));
extern SortState IMakeSortState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, RelationRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool sort_Flag, Pointer sort_Keys, Relation sort_TempRelation));
d191 3
a193 2
extern bool CopyUniqueState ARGS((UniqueState from, UniqueState *to, int alloc));
extern UniqueState IMakeUniqueState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes));
d198 5
a202 1
extern bool CopyHashState ARGS((HashState from, HashState *to, int alloc));
@


1.41
log
@add range table to expression contexts
@
text
@d1 1
a1 1
/* $Header: /private/mer/pg/src/lib/H/nodes/RCS/execnodes.a.h,v 1.40 1992/07/13 10:32:44 hong Exp mer $ */
d136 1
a136 2
extern AggState MakeAggState ARGS((bool agg_Flag, Relation agg_TempRelation,
Plan outerPlan));
@


1.40
log
@prototyping
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.39 92/07/13 07:39:10 hong Exp Locker: hong $ */
d28 1
a28 1
extern ExprContext MakeExprContext ARGS((TupleTableSlot ecxt_scantuple, TupleTableSlot ecxt_innertuple, TupleTableSlot ecxt_outertuple, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
d32 1
a32 1
extern ExprContext IMakeExprContext ARGS((TupleTableSlot ecxt_scantuple, TupleTableSlot ecxt_innertuple, TupleTableSlot ecxt_outertuple, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
@


1.39
log
@introduced a new field to EState
@
text
@d1 1
a1 1
/* $Header: /home/postgres/hong/postgres/src/lib/H/nodes/RCS/execnodes.a.h,v 1.38 1992/07/09 03:56:09 hong Exp hong $ */
d22 1
a22 1
extern TupleTableSlot MakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor, ExecTupDescriptor ttc_execTupDescriptor, Buffer ttc_buffer));
d26 1
a26 1
extern TupleTableSlot IMakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor, ExecTupDescriptor ttc_execTupDescriptor, Buffer ttc_buffer));
@


1.38
log
@added field to tuple table slot for this special executor tuple descriptor
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.37 92/03/31 23:15:14 mer Exp Locker: hong $ */
d46 1
a46 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter, Pointer es_result_rel_scanstate, RelationRuleInfo es_result_rel_ruleinfo));
d50 1
a50 1
extern EState IMakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter, Pointer es_result_rel_scanstate, RelationRuleInfo es_result_rel_ruleinfo));
@


1.37
log
@change accessor functions into macros
@
text
@d1 1
a1 1
/* $Header: /users/mer/pg/src/lib/H/nodes/RCS/execnodes.a.h,v 1.36 1991/11/11 19:22:37 glass Exp mer $ */
d22 1
a22 1
extern TupleTableSlot MakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor, Buffer ttc_buffer));
d26 1
a26 1
extern TupleTableSlot IMakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor, Buffer ttc_buffer));
@


1.36
log
@prototype stuff
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.35 91/10/18 08:26:02 mer Exp Locker: glass $ */
a2 244
extern void set_ii_NumKeyAttributes ARGS((IndexInfo node, int value));
extern int get_ii_NumKeyAttributes ARGS((IndexInfo node));
extern void set_ii_FuncIndexInfo ARGS((IndexInfo node, FuncIndexInfoPtr finfo));
extern FuncIndexInfoPtr get_ii_FuncIndexInfo ARGS((IndexInfo node));
extern void set_ii_KeyAttributeNumbers ARGS((IndexInfo node, AttributeNumberPtr value));
extern AttributeNumberPtr get_ii_KeyAttributeNumbers ARGS((IndexInfo node));
extern void set_ri_RangeTableIndex ARGS((RelationInfo node, Index value));
extern Index get_ri_RangeTableIndex ARGS((RelationInfo node));
extern void set_ri_RelationDesc ARGS((RelationInfo node, Relation value));
extern Relation get_ri_RelationDesc ARGS((RelationInfo node));
extern void set_ri_NumIndices ARGS((RelationInfo node, int value));
extern int get_ri_NumIndices ARGS((RelationInfo node));
extern void set_ri_IndexRelationDescs ARGS((RelationInfo node, RelationPtr value));
extern RelationPtr get_ri_IndexRelationDescs ARGS((RelationInfo node));
extern void set_ri_IndexRelationInfo ARGS((RelationInfo node, IndexInfoPtr value));
extern IndexInfoPtr get_ri_IndexRelationInfo ARGS((RelationInfo node));
extern void set_tc_retrieved ARGS((TupleCount node, int value));
extern int get_tc_retrieved ARGS((TupleCount node));
extern void set_tc_appended ARGS((TupleCount node, int value));
extern int get_tc_appended ARGS((TupleCount node));
extern void set_tc_deleted ARGS((TupleCount node, int value));
extern int get_tc_deleted ARGS((TupleCount node));
extern void set_tc_replaced ARGS((TupleCount node, int value));
extern int get_tc_replaced ARGS((TupleCount node));
extern void set_tc_inserted ARGS((TupleCount node, int value));
extern int get_tc_inserted ARGS((TupleCount node));
extern void set_tc_processed ARGS((TupleCount node, int value));
extern int get_tc_processed ARGS((TupleCount node));
extern void set_ttc_shouldFree ARGS((TupleTableSlot node, bool value));
extern bool get_ttc_shouldFree ARGS((TupleTableSlot node));
extern void set_ttc_descIsNew ARGS((TupleTableSlot node, bool value));
extern bool get_ttc_descIsNew ARGS((TupleTableSlot node));
extern void set_ttc_tupleDescriptor ARGS((TupleTableSlot node, TupleDescriptor value));
extern TupleDescriptor get_ttc_tupleDescriptor ARGS((TupleTableSlot node));
extern void set_ttc_buffer ARGS((TupleTableSlot node, Buffer value));
extern Buffer get_ttc_buffer ARGS((TupleTableSlot node));
extern void set_ecxt_scantuple ARGS((ExprContext node, TupleTableSlot value));
extern TupleTableSlot get_ecxt_scantuple ARGS((ExprContext node));
extern void set_ecxt_innertuple ARGS((ExprContext node, TupleTableSlot value));
extern TupleTableSlot get_ecxt_innertuple ARGS((ExprContext node));
extern void set_ecxt_outertuple ARGS((ExprContext node, TupleTableSlot value));
extern TupleTableSlot get_ecxt_outertuple ARGS((ExprContext node));
extern void set_ecxt_relation ARGS((ExprContext node, Relation value));
extern Relation get_ecxt_relation ARGS((ExprContext node));
extern void set_ecxt_relid ARGS((ExprContext node, Index value));
extern Index get_ecxt_relid ARGS((ExprContext node));
extern void set_ecxt_param_list_info ARGS((ExprContext node, ParamListInfo value));
extern ParamListInfo get_ecxt_param_list_info ARGS((ExprContext node));
extern void set_pi_targetlist ARGS((ProjectionInfo node, List value));
extern List get_pi_targetlist ARGS((ProjectionInfo node));
extern void set_pi_len ARGS((ProjectionInfo node, int value));
extern int get_pi_len ARGS((ProjectionInfo node));
extern void set_pi_tupValue ARGS((ProjectionInfo node, Pointer value));
extern Pointer get_pi_tupValue ARGS((ProjectionInfo node));
extern void set_pi_exprContext ARGS((ProjectionInfo node, ExprContext value));
extern ExprContext get_pi_exprContext ARGS((ProjectionInfo node));
extern void set_pi_slot ARGS((ProjectionInfo node, TupleTableSlot value));
extern TupleTableSlot get_pi_slot ARGS((ProjectionInfo node));
extern void set_jf_targetList ARGS((JunkFilter node, List value));
extern List get_jf_targetList ARGS((JunkFilter node));
extern void set_jf_length ARGS((JunkFilter node, int value));
extern int get_jf_length ARGS((JunkFilter node));
extern void set_jf_tupType ARGS((JunkFilter node, TupleDescriptor value));
extern TupleDescriptor get_jf_tupType ARGS((JunkFilter node));
extern void set_jf_cleanTargetList ARGS((JunkFilter node, List value));
extern List get_jf_cleanTargetList ARGS((JunkFilter node));
extern void set_jf_cleanLength ARGS((JunkFilter node, int value));
extern int get_jf_cleanLength ARGS((JunkFilter node));
extern void set_jf_cleanTupType ARGS((JunkFilter node, TupleDescriptor value));
extern TupleDescriptor get_jf_cleanTupType ARGS((JunkFilter node));
extern void set_jf_cleanMap ARGS((JunkFilter node, AttributeNumberPtr value));
extern AttributeNumberPtr get_jf_cleanMap ARGS((JunkFilter node));
extern void set_es_direction ARGS((EState node, ScanDirection value));
extern ScanDirection get_es_direction ARGS((EState node));
extern void set_es_time ARGS((EState node, abstime value));
extern abstime get_es_time ARGS((EState node));
extern void set_es_owner ARGS((EState node, ObjectId value));
extern ObjectId get_es_owner ARGS((EState node));
extern void set_es_locks ARGS((EState node, List value));
extern List get_es_locks ARGS((EState node));
extern void set_es_subplan_info ARGS((EState node, List value));
extern List get_es_subplan_info ARGS((EState node));
extern void set_es_error_message ARGS((EState node, Name value));
extern Name get_es_error_message ARGS((EState node));
extern void set_es_range_table ARGS((EState node, List value));
extern List get_es_range_table ARGS((EState node));
extern void set_es_qualification_tuple ARGS((EState node, HeapTuple value));
extern HeapTuple get_es_qualification_tuple ARGS((EState node));
extern void set_es_qualification_tuple_id ARGS((EState node, ItemPointer value));
extern ItemPointer get_es_qualification_tuple_id ARGS((EState node));
extern void set_es_qualification_tuple_buffer ARGS((EState node, Buffer value));
extern Buffer get_es_qualification_tuple_buffer ARGS((EState node));
extern void set_es_raw_qualification_tuple ARGS((EState node, HeapTuple value));
extern HeapTuple get_es_raw_qualification_tuple ARGS((EState node));
extern void set_es_relation_relation_descriptor ARGS((EState node, Relation value));
extern Relation get_es_relation_relation_descriptor ARGS((EState node));
extern void set_es_into_relation_descriptor ARGS((EState node, Relation value));
extern Relation get_es_into_relation_descriptor ARGS((EState node));
extern void set_es_result_relation_info ARGS((EState node, RelationInfo value));
extern RelationInfo get_es_result_relation_info ARGS((EState node));
extern void set_es_tuplecount ARGS((EState node, TupleCount value));
extern TupleCount get_es_tuplecount ARGS((EState node));
extern void set_es_param_list_info ARGS((EState node, ParamListInfo value));
extern ParamListInfo get_es_param_list_info ARGS((EState node));
extern void set_es_prs2_info ARGS((EState node, Prs2EStateInfo value));
extern Prs2EStateInfo get_es_prs2_info ARGS((EState node));
extern void set_es_explain_relation ARGS((EState node, Relation value));
extern Relation get_es_explain_relation ARGS((EState node));
extern void set_es_BaseId ARGS((EState node, int value));
extern int get_es_BaseId ARGS((EState node));
extern void set_es_tupleTable ARGS((EState node, TupleTable value));
extern TupleTable get_es_tupleTable ARGS((EState node));
extern void set_es_junkFilter ARGS((EState node, JunkFilter value));
extern JunkFilter get_es_junkFilter ARGS((EState node));
extern void set_es_result_rel_scanstate ARGS((EState node, Pointer value));
extern Pointer get_es_result_rel_scanstate ARGS((EState node));
extern void set_es_result_rel_ruleinfo ARGS((EState node, RelationRuleInfo value));
extern RelationRuleInfo get_es_result_rel_ruleinfo ARGS((EState node));
extern void set_hook_at_initnode ARGS((HookNode node, HookFunction value));
extern HookFunction get_hook_at_initnode ARGS((HookNode node));
extern void set_hook_pre_procnode ARGS((HookNode node, HookFunction value));
extern HookFunction get_hook_pre_procnode ARGS((HookNode node));
extern void set_hook_pre_endnode ARGS((HookNode node, HookFunction value));
extern HookFunction get_hook_pre_endnode ARGS((HookNode node));
extern void set_hook_post_initnode ARGS((HookNode node, HookFunction value));
extern HookFunction get_hook_post_initnode ARGS((HookNode node));
extern void set_hook_post_procnode ARGS((HookNode node, HookFunction value));
extern HookFunction get_hook_post_procnode ARGS((HookNode node));
extern void set_hook_post_endnode ARGS((HookNode node, HookFunction value));
extern HookFunction get_hook_post_endnode ARGS((HookNode node));
extern void set_hook_data ARGS((HookNode node, Pointer value));
extern Pointer get_hook_data ARGS((HookNode node));
extern void set_base_id ARGS((BaseNode node, int value));
extern int get_base_id ARGS((BaseNode node));
extern void set_base_parent ARGS((BaseNode node, Pointer value));
extern Pointer get_base_parent ARGS((BaseNode node));
extern void set_base_parent_state ARGS((BaseNode node, Pointer value));
extern Pointer get_base_parent_state ARGS((BaseNode node));
extern void set_base_hook ARGS((BaseNode node, HookNode value));
extern HookNode get_base_hook ARGS((BaseNode node));
extern void set_cs_OuterTupleSlot ARGS((CommonState node, TupleTableSlot value));
extern TupleTableSlot get_cs_OuterTupleSlot ARGS((CommonState node));
extern void set_cs_ResultTupleSlot ARGS((CommonState node, TupleTableSlot value));
extern TupleTableSlot get_cs_ResultTupleSlot ARGS((CommonState node));
extern void set_cs_ExprContext ARGS((CommonState node, ExprContext value));
extern ExprContext get_cs_ExprContext ARGS((CommonState node));
extern void set_cs_ProjInfo ARGS((CommonState node, ProjectionInfo value));
extern ProjectionInfo get_cs_ProjInfo ARGS((CommonState node));
extern void set_cs_NumScanAttributes ARGS((CommonState node, int value));
extern int get_cs_NumScanAttributes ARGS((CommonState node));
extern void set_cs_ScanAttributes ARGS((CommonState node, AttributeNumberPtr value));
extern AttributeNumberPtr get_cs_ScanAttributes ARGS((CommonState node));
extern void set_rs_Loop ARGS((ResultState node, int value));
extern int get_rs_Loop ARGS((ResultState node));
extern void set_as_whichplan ARGS((AppendState node, int value));
extern int get_as_whichplan ARGS((AppendState node));
extern void set_as_nplans ARGS((AppendState node, int value));
extern int get_as_nplans ARGS((AppendState node));
extern void set_as_initialized ARGS((AppendState node, ListPtr value));
extern ListPtr get_as_initialized ARGS((AppendState node));
extern void set_as_rtentries ARGS((AppendState node, List value));
extern List get_as_rtentries ARGS((AppendState node));
extern void set_css_currentRelation ARGS((CommonScanState node, Relation value));
extern Relation get_css_currentRelation ARGS((CommonScanState node));
extern void set_css_currentScanDesc ARGS((CommonScanState node, HeapScanDesc value));
extern HeapScanDesc get_css_currentScanDesc ARGS((CommonScanState node));
extern void set_css_ruleInfo ARGS((CommonScanState node, RelationRuleInfo value));
extern RelationRuleInfo get_css_ruleInfo ARGS((CommonScanState node));
extern void set_css_ScanTupleSlot ARGS((CommonScanState node, Pointer value));
extern TupleTableSlot get_css_ScanTupleSlot ARGS((CommonScanState node));
extern void set_css_RawTupleSlot ARGS((CommonScanState node, Pointer value));
extern TupleTableSlot get_css_RawTupleSlot ARGS((CommonScanState node));
extern void set_ss_ProcOuterFlag ARGS((ScanState node, bool value));
extern bool get_ss_ProcOuterFlag ARGS((ScanState node));
extern void set_ss_OldRelId ARGS((ScanState node, Index value));
extern Index get_ss_OldRelId ARGS((ScanState node));
extern void set_st_whichplan ARGS((ScanTempState node, int value));
extern int get_st_whichplan ARGS((ScanTempState node));
extern void set_st_nplans ARGS((ScanTempState node, int value));
extern int get_st_nplans ARGS((ScanTempState node));
extern void set_iss_NumIndices ARGS((IndexScanState node, int value));
extern int get_iss_NumIndices ARGS((IndexScanState node));
extern void set_iss_IndexPtr ARGS((IndexScanState node, int value));
extern int get_iss_IndexPtr ARGS((IndexScanState node));
extern void set_iss_ScanKeys ARGS((IndexScanState node, ScanKeyPtr value));
extern ScanKeyPtr get_iss_ScanKeys ARGS((IndexScanState node));
extern void set_iss_NumScanKeys ARGS((IndexScanState node, IntPtr value));
extern IntPtr get_iss_NumScanKeys ARGS((IndexScanState node));
extern void set_iss_RuntimeKeyInfo ARGS((IndexScanState node, Pointer value));
extern Pointer get_iss_RuntimeKeyInfo ARGS((IndexScanState node));
extern void set_iss_RelationDescs ARGS((IndexScanState node, RelationPtr value));
extern RelationPtr get_iss_RelationDescs ARGS((IndexScanState node));
extern void set_iss_ScanDescs ARGS((IndexScanState node, IndexScanDescPtr value));
extern IndexScanDescPtr get_iss_ScanDescs ARGS((IndexScanState node));
extern void set_nl_PortalFlag ARGS((NestLoopState node, bool value));
extern bool get_nl_PortalFlag ARGS((NestLoopState node));
extern void set_mj_OSortopI ARGS((MergeJoinState node, List value));
extern List get_mj_OSortopI ARGS((MergeJoinState node));
extern void set_mj_ISortopO ARGS((MergeJoinState node, List value));
extern List get_mj_ISortopO ARGS((MergeJoinState node));
extern void set_mj_JoinState ARGS((MergeJoinState node, int value));
extern int get_mj_JoinState ARGS((MergeJoinState node));
extern void set_mj_MarkedTupleSlot ARGS((MergeJoinState node, TupleTableSlot value));
extern TupleTableSlot get_mj_MarkedTupleSlot ARGS((MergeJoinState node));
extern void set_hj_HashTable ARGS((HashJoinState node, HashJoinTable value));
extern HashJoinTable get_hj_HashTable ARGS((HashJoinState node));
extern void set_hj_HashTableShmId ARGS((HashJoinState node, IpcMemoryId value));
extern IpcMemoryId get_hj_HashTableShmId ARGS((HashJoinState node));
extern void set_hj_CurBucket ARGS((HashJoinState node, HashBucket value));
extern HashBucket get_hj_CurBucket ARGS((HashJoinState node));
extern void set_hj_CurTuple ARGS((HashJoinState node, HeapTuple value));
extern HeapTuple get_hj_CurTuple ARGS((HashJoinState node));
extern void set_hj_CurOTuple ARGS((HashJoinState node, OverflowTuple value));
extern OverflowTuple get_hj_CurOTuple ARGS((HashJoinState node));
extern void set_hj_InnerHashKey ARGS((HashJoinState node, Var value));
extern Var get_hj_InnerHashKey ARGS((HashJoinState node));
extern void set_hj_OuterBatches ARGS((HashJoinState node, FileP value));
extern FileP get_hj_OuterBatches ARGS((HashJoinState node));
extern void set_hj_InnerBatches ARGS((HashJoinState node, FileP value));
extern FileP get_hj_InnerBatches ARGS((HashJoinState node));
extern void set_hj_OuterReadPos ARGS((HashJoinState node, charP value));
extern charP get_hj_OuterReadPos ARGS((HashJoinState node));
extern void set_hj_OuterReadBlk ARGS((HashJoinState node, int value));
extern int get_hj_OuterReadBlk ARGS((HashJoinState node));
extern void set_hj_OuterTupleSlot ARGS((HashJoinState node, Pointer value));
extern Pointer get_hj_OuterTupleSlot ARGS((HashJoinState node));
extern void set_hj_HashTupleSlot ARGS((HashJoinState node, Pointer value));
extern Pointer get_hj_HashTupleSlot ARGS((HashJoinState node));
extern void set_mat_Flag ARGS((MaterialState node, bool value));
extern bool get_mat_Flag ARGS((MaterialState node));
extern void set_mat_TempRelation ARGS((MaterialState node, Relation value));
extern Relation get_mat_TempRelation ARGS((MaterialState node));
extern void set_agg_Flag ARGS((AggState node, bool value));
extern bool get_agg_Flag ARGS((AggState node));
extern void set_agg_TempRelation ARGS((AggState node, Relation value));
extern Relation get_agg_TempRelation ARGS((AggState node));
extern void set_sort_Flag ARGS((SortState node, bool value));
extern bool get_sort_Flag ARGS((SortState node));
extern void set_sort_Keys ARGS((SortState node, Pointer value));
extern Pointer get_sort_Keys ARGS((SortState node));
extern void set_sort_TempRelation ARGS((SortState node, Relation value));
extern Relation get_sort_TempRelation ARGS((SortState node));
extern void set_hashBatches ARGS((HashState node, FileP value));
extern FileP get_hashBatches ARGS((HashState node));
@


1.35
log
@functional index struct field access prototypes
@
text
@d1 2
a2 1
/* $Header: RCS/execnodes.a.h,v 1.34 91/09/22 22:04:31 hong Exp Locker: mer $ */
@


1.34
log
@fixed a problem of misusing tuple descritpors in hashjoins
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.33 91/08/15 17:47:19 caetta Exp Locker: hong $ */
d4 2
@


1.33
log
@for AggStates
@
text
@d1 1
a1 1
/* $Header: lib/H/nodes/RCS/execnodes.a.h,v 1.32 91/07/17 23:50:38 hong Exp Locker: caetta $ */
d224 4
a227 4
extern void set_hj_SavedTupleSlot ARGS((HashJoinState node, Pointer value));
extern Pointer get_hj_SavedTupleSlot ARGS((HashJoinState node));
extern void set_hj_TemporaryTupleSlot ARGS((HashJoinState node, Pointer value));
extern Pointer get_hj_TemporaryTupleSlot ARGS((HashJoinState node));
d365 1
a365 1
extern HashJoinState MakeHashJoinState ARGS((HashJoinTable hj_HashTable, IpcMemoryId hj_HashTableShmId, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, OverflowTuple hj_CurOTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
d369 1
a369 1
extern HashJoinState IMakeHashJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTupleSlot, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, ProjectionInfo cs_ProjInfo, int cs_NumScanAttributes, AttributeNumberPtr cs_ScanAttributes, HashJoinTable hj_HashTable, IpcMemoryId hj_HashTableShmId, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, OverflowTuple hj_CurOTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
@


1.32
log
@changes to support inter-fragment and inter-query parallelism
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.31 91/06/18 23:55:18 cimarron Exp Locker: hong $ */
d232 4
d376 7
@


1.31
log
@ reorganized executor to use tuple table properly for nested dot stuff
@
text
@d1 1
a1 1
/* $Header$ */
a117 2
extern void set_resultTmpRelDesc ARGS((ReturnState node, Relation value));
extern Relation get_resultTmpRelDesc ARGS((ReturnState node));
d169 1
a169 1
extern Pointer get_css_ScanTupleSlot ARGS((CommonScanState node));
d171 1
a171 1
extern Pointer get_css_RawTupleSlot ARGS((CommonScanState node));
a287 6
extern void RInitReturnState ARGS((Pointer p));
extern ReturnState MakeReturnState ARGS((Relation resultTmpRelDesc));
extern void OutReturnState ARGS((StringInfo str, ReturnState node));
extern bool EqualReturnState ARGS((ReturnState a, ReturnState b));
extern bool CopyReturnState ARGS((ReturnState from, ReturnState *to, int alloc));
extern ReturnState IMakeReturnState ARGS((Relation resultTmpRelDesc));
@


1.30
log
@ScanStateRuleInfo has been renamed to RelationRuleInfo and
we added a new field in EState "resule_rel_ruleinfo" where we
store some information about the result relation.
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.29 91/03/22 01:04:05 cimarron Exp Locker: sp $ */
d34 2
a37 4
extern void set_ecxt_scantype ARGS((ExprContext node, AttributePtr value));
extern AttributePtr get_ecxt_scantype ARGS((ExprContext node));
extern void set_ecxt_scan_buffer ARGS((ExprContext node, Buffer value));
extern Buffer get_ecxt_scan_buffer ARGS((ExprContext node));
a39 4
extern void set_ecxt_innertype ARGS((ExprContext node, AttributePtr value));
extern AttributePtr get_ecxt_innertype ARGS((ExprContext node));
extern void set_ecxt_inner_buffer ARGS((ExprContext node, Buffer value));
extern Buffer get_ecxt_inner_buffer ARGS((ExprContext node));
a41 4
extern void set_ecxt_outertype ARGS((ExprContext node, AttributePtr value));
extern AttributePtr get_ecxt_outertype ARGS((ExprContext node));
extern void set_ecxt_outer_buffer ARGS((ExprContext node, Buffer value));
extern Buffer get_ecxt_outer_buffer ARGS((ExprContext node));
d48 10
d62 2
a63 2
extern void set_jf_tupType ARGS((JunkFilter node, AttributePtr value));
extern AttributePtr get_jf_tupType ARGS((JunkFilter node));
d68 2
a69 2
extern void set_jf_cleanTupType ARGS((JunkFilter node, AttributePtr value));
extern AttributePtr get_jf_cleanTupType ARGS((JunkFilter node));
d114 2
d142 2
a143 14
extern void set_cs_OuterTuple ARGS((CommonState node, TupleTableSlot value));
extern TupleTableSlot get_cs_OuterTuple ARGS((CommonState node));
extern void set_cs_TupType ARGS((CommonState node, AttributePtr value));
extern AttributePtr get_cs_TupType ARGS((CommonState node));
extern void set_cs_TupValue ARGS((CommonState node, Pointer value));
extern Pointer get_cs_TupValue ARGS((CommonState node));
extern void set_cs_Level ARGS((CommonState node, int value));
extern int get_cs_Level ARGS((CommonState node));
extern void set_cs_ScanType ARGS((CommonState node, AttributePtr value));
extern AttributePtr get_cs_ScanType ARGS((CommonState node));
extern void set_cs_ScanAttributes ARGS((CommonState node, AttributeNumberPtr value));
extern AttributeNumberPtr get_cs_ScanAttributes ARGS((CommonState node));
extern void set_cs_NumScanAttributes ARGS((CommonState node, int value));
extern int get_cs_NumScanAttributes ARGS((CommonState node));
d148 6
a153 2
extern void set_ex_SatState ARGS((ExistentialState node, List value));
extern List get_ex_SatState ARGS((ExistentialState node));
a163 22
extern void set_rcs_whichSequence ARGS((RecursiveState node, int value));
extern int get_rcs_whichSequence ARGS((RecursiveState node));
extern void set_rcs_whichPlan ARGS((RecursiveState node, int value));
extern int get_rcs_whichPlan ARGS((RecursiveState node));
extern void set_rcs_numPlans ARGS((RecursiveState node, List value));
extern List get_rcs_numPlans ARGS((RecursiveState node));
extern void set_rcs_initialized ARGS((RecursiveState node, ListPtr value));
extern ListPtr get_rcs_initialized ARGS((RecursiveState node));
extern void set_rcs_rtentries ARGS((RecursiveState node, List value));
extern List get_rcs_rtentries ARGS((RecursiveState node));
extern void set_rcs_effectsNoted ARGS((RecursiveState node, bool value));
extern bool get_rcs_effectsNoted ARGS((RecursiveState node));
extern void set_rcs_tempsSwapped ARGS((RecursiveState node, bool value));
extern bool get_rcs_tempsSwapped ARGS((RecursiveState node));
extern void set_ps_whichplan ARGS((ParallelState node, int value));
extern int get_ps_whichplan ARGS((ParallelState node));
extern void set_ps_nplans ARGS((ParallelState node, int value));
extern int get_ps_nplans ARGS((ParallelState node));
extern void set_ps_initialized ARGS((ParallelState node, ListPtr value));
extern ListPtr get_ps_initialized ARGS((ParallelState node));
extern void set_ps_rtentries ARGS((ParallelState node, List value));
extern List get_ps_rtentries ARGS((ParallelState node));
d168 1
a168 1
extern void set_css_ruleInfo ARGS((CommonScanState node, ScanStateRuleInfo value));
d244 1
a244 1
extern void PrintIndexInfo ARGS((FILE *fp, IndexInfo node));
a247 1
extern IndexInfo RMakeIndexInfo ARGS(());
d250 1
a250 1
extern void PrintRelationInfo ARGS((FILE *fp, RelationInfo node));
a253 1
extern RelationInfo RMakeRelationInfo ARGS(());
d256 1
a256 1
extern void PrintTupleCount ARGS((FILE *fp, TupleCount node));
a259 1
extern TupleCount RMakeTupleCount ARGS(());
d261 2
a262 2
extern TupleTableSlot MakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor));
extern void PrintTupleTableSlot ARGS((FILE *fp, TupleTableSlot node));
d265 1
a265 2
extern TupleTableSlot IMakeTupleTableSlot ARGS((bool ttc_shouldFree, bool ttc_descIsNew, TupleDescriptor ttc_tupleDescriptor));
extern TupleTableSlot RMakeTupleTableSlot ARGS(());
d267 2
a268 2
extern ExprContext MakeExprContext ARGS((TupleTableSlot ecxt_scantuple, AttributePtr ecxt_scantype, Buffer ecxt_scan_buffer, TupleTableSlot ecxt_innertuple, AttributePtr ecxt_innertype, Buffer ecxt_inner_buffer, TupleTableSlot ecxt_outertuple, AttributePtr ecxt_outertype, Buffer ecxt_outer_buffer, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
extern void PrintExprContext ARGS((FILE *fp, ExprContext node));
d271 7
a277 2
extern ExprContext IMakeExprContext ARGS((TupleTableSlot ecxt_scantuple, AttributePtr ecxt_scantype, Buffer ecxt_scan_buffer, TupleTableSlot ecxt_innertuple, AttributePtr ecxt_innertype, Buffer ecxt_inner_buffer, TupleTableSlot ecxt_outertuple, AttributePtr ecxt_outertype, Buffer ecxt_outer_buffer, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
extern ExprContext RMakeExprContext ARGS(());
d279 2
a280 2
extern JunkFilter MakeJunkFilter ARGS((List jf_targetList, int jf_length, AttributePtr jf_tupType, List jf_cleanTargetList, int jf_cleanLength, AttributePtr jf_cleanTupType, AttributeNumberPtr jf_cleanMap));
extern void PrintJunkFilter ARGS((FILE *fp, JunkFilter node));
d283 1
a283 2
extern JunkFilter IMakeJunkFilter ARGS((List jf_targetList, int jf_length, AttributePtr jf_tupType, List jf_cleanTargetList, int jf_cleanLength, AttributePtr jf_cleanTupType, AttributeNumberPtr jf_cleanMap));
extern JunkFilter RMakeJunkFilter ARGS(());
d286 1
a286 1
extern void PrintEState ARGS((FILE *fp, EState node));
d289 1
a289 2
extern EState IMakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter Pointer es_result_rel_scanstate, RelationRuleInfo es_result_rel_ruleinfo));
extern EState RMakeEState ARGS(());
d292 1
a292 1
extern void PrintReturnState ARGS((FILE *fp, ReturnState node));
a295 1
extern ReturnState RMakeReturnState ARGS(());
d298 1
a298 1
extern void PrintHookNode ARGS((FILE *fp, HookNode node));
a301 1
extern HookNode RMakeHookNode ARGS(());
d304 1
a304 1
extern void PrintBaseNode ARGS((FILE *fp, BaseNode node));
a307 1
extern BaseNode RMakeBaseNode ARGS(());
d309 2
a310 2
extern CommonState MakeCommonState ARGS((TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext));
extern void PrintCommonState ARGS((FILE *fp, CommonState node));
d313 1
a313 9
extern CommonState IMakeCommonState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext));
extern CommonState RMakeCommonState ARGS(());
extern void RInitExistentialState ARGS((Pointer p));
extern ExistentialState MakeExistentialState ARGS((List ex_SatState));
extern void PrintExistentialState ARGS((FILE *fp, ExistentialState node));
extern bool EqualExistentialState ARGS((ExistentialState a, ExistentialState b));
extern bool CopyExistentialState ARGS((ExistentialState from, ExistentialState *to, int alloc));
extern ExistentialState IMakeExistentialState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, List ex_SatState));
extern ExistentialState RMakeExistentialState ARGS(());
d316 1
a316 1
extern void PrintResultState ARGS((FILE *fp, ResultState node));
d319 1
a319 2
extern ResultState IMakeResultState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, int rs_Loop));
extern ResultState RMakeResultState ARGS(());
d322 1
a322 1
extern void PrintAppendState ARGS((FILE *fp, AppendState node));
d325 1
a325 16
extern AppendState IMakeAppendState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, int as_whichplan, int as_nplans, ListPtr as_initialized, List as_rtentries));
extern AppendState RMakeAppendState ARGS(());
extern void RInitRecursiveState ARGS((Pointer p));
extern RecursiveState MakeRecursiveState ARGS((int rcs_whichSequence, int rcs_whichPlan, List rcs_numPlans, ListPtr rcs_initialized, List rcs_rtentries, bool rcs_effectsNoted, bool rcs_tempsSwapped));
extern void PrintRecursiveState ARGS((FILE *fp, RecursiveState node));
extern bool EqualRecursiveState ARGS((RecursiveState a, RecursiveState b));
extern bool CopyRecursiveState ARGS((RecursiveState from, RecursiveState *to, int alloc));
extern RecursiveState IMakeRecursiveState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, int rcs_whichSequence, int rcs_whichPlan, List rcs_numPlans, ListPtr rcs_initialized, List rcs_rtentries, bool rcs_effectsNoted, bool rcs_tempsSwapped));
extern RecursiveState RMakeRecursiveState ARGS(());
extern void RInitParallelState ARGS((Pointer p));
extern ParallelState MakeParallelState ARGS((int ps_whichplan, int ps_nplans, ListPtr ps_initialized, List ps_rtentries));
extern void PrintParallelState ARGS((FILE *fp, ParallelState node));
extern bool EqualParallelState ARGS((ParallelState a, ParallelState b));
extern bool CopyParallelState ARGS((ParallelState from, ParallelState *to, int alloc));
extern ParallelState IMakeParallelState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, int ps_whichplan, int ps_nplans, ListPtr ps_initialized, List ps_rtentries));
extern ParallelState RMakeParallelState ARGS(());
d327 2
a328 2
extern CommonScanState MakeCommonScanState ARGS((Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot));
extern void PrintCommonScanState ARGS((FILE *fp, CommonScanState node));
d331 1
a331 2
extern CommonScanState IMakeCommonScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot));
extern CommonScanState RMakeCommonScanState ARGS(());
d334 1
a334 1
extern void PrintScanState ARGS((FILE *fp, ScanState node));
d337 1
a337 2
extern ScanState IMakeScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool ss_ProcOuterFlag, Index ss_OldRelId));
extern ScanState RMakeScanState ARGS(());
d340 1
a340 1
extern void PrintScanTempState ARGS((FILE *fp, ScanTempState node));
d343 1
a343 2
extern ScanTempState IMakeScanTempState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, int st_whichplan, int st_nplans));
extern ScanTempState RMakeScanTempState ARGS(());
d346 1
a346 1
extern void PrintIndexScanState ARGS((FILE *fp, IndexScanState node));
d349 1
a349 2
extern IndexScanState IMakeIndexScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, int iss_NumIndices, int iss_IndexPtr, ScanKeyPtr iss_ScanKeys, IntPtr iss_NumScanKeys, Pointer iss_RuntimeKeyInfo, RelationPtr iss_RelationDescs, IndexScanDescPtr iss_ScanDescs));
extern IndexScanState RMakeIndexScanState ARGS(());
d352 1
a352 1
extern void PrintJoinState ARGS((FILE *fp, JoinState node));
d355 1
a355 2
extern JoinState IMakeJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext));
extern JoinState RMakeJoinState ARGS(());
d358 1
a358 1
extern void PrintNestLoopState ARGS((FILE *fp, NestLoopState node));
d361 1
a361 2
extern NestLoopState IMakeNestLoopState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, bool nl_PortalFlag));
extern NestLoopState RMakeNestLoopState ARGS(());
d364 1
a364 1
extern void PrintMergeJoinState ARGS((FILE *fp, MergeJoinState node));
d367 1
a367 2
extern MergeJoinState IMakeMergeJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, List mj_OSortopI, List mj_ISortopO, int mj_JoinState, TupleTableSlot mj_MarkedTupleSlot));
extern MergeJoinState RMakeMergeJoinState ARGS(());
d370 1
a370 1
extern void PrintHashJoinState ARGS((FILE *fp, HashJoinState node));
d373 1
a373 2
extern HashJoinState IMakeHashJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, HashJoinTable hj_HashTable, IpcMemoryId hj_HashTableShmId, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, OverflowTuple hj_CurOTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
extern HashJoinState RMakeHashJoinState ARGS(());
d376 1
a376 1
extern void PrintMaterialState ARGS((FILE *fp, MaterialState node));
d379 1
a379 2
extern MaterialState IMakeMaterialState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool mat_Flag, Relation mat_TempRelation));
extern MaterialState RMakeMaterialState ARGS(());
d382 1
a382 1
extern void PrintSortState ARGS((FILE *fp, SortState node));
d385 1
a385 2
extern SortState IMakeSortState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_RawTupleSlot, bool sort_Flag, Pointer sort_Keys, Relation sort_TempRelation));
extern SortState RMakeSortState ARGS(());
d388 1
a388 1
extern void PrintUniqueState ARGS((FILE *fp, UniqueState node));
d391 1
a391 2
extern UniqueState IMakeUniqueState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext));
extern UniqueState RMakeUniqueState ARGS(());
d394 1
a394 1
extern void PrintHashState ARGS((FILE *fp, HashState node));
a396 2
extern HashState IMakeHashState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, FileP hashBatches));
extern HashState RMakeHashState ARGS(());
@


1.29
log
@removed def for obsolete ViewTupleSlot and added def for RawTupleSlot
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.28 91/01/18 20:38:35 cimarron Exp Locker: cimarron $ */
d114 2
d197 1
a197 1
extern ScanStateRuleInfo get_css_ruleInfo ARGS((CommonScanState node));
d313 1
a313 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter));
d317 1
a317 1
extern EState IMakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable, JunkFilter es_junkFilter));
@


1.28
log
@made changes to support passing tuple descriptors 
in the executor tuple table.
@
text
@d1 1
a1 1
/* $Header$ */
d198 2
a199 2
extern void set_css_ViewTupleSlot ARGS((CommonScanState node, Pointer value));
extern Pointer get_css_ViewTupleSlot ARGS((CommonScanState node));
d381 1
a381 1
extern CommonScanState MakeCommonScanState ARGS((Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_ViewTupleSlot));
d385 1
a385 1
extern CommonScanState IMakeCommonScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_ViewTupleSlot));
d392 1
a392 1
extern ScanState IMakeScanState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_ViewTupleSlot, bool ss_ProcOuterFlag, Index ss_OldRelId));
d399 1
a399 1
extern ScanTempState IMakeScanTempState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_ViewTupleSlot, int st_whichplan, int st_nplans));
d441 1
a441 1
extern MaterialState IMakeMaterialState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_ViewTupleSlot, bool mat_Flag, Relation mat_TempRelation));
d448 1
a448 1
extern SortState IMakeSortState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, Relation css_currentRelation, HeapScanDesc css_currentScanDesc, ScanStateRuleInfo css_ruleInfo, Pointer css_ScanTupleSlot, Pointer css_ViewTupleSlot, bool sort_Flag, Pointer sort_Keys, Relation sort_TempRelation));
@


1.27
log
@Major changes in JunkFilter
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.26 90/11/10 12:28:20 hong Exp Locker: sp $ */
d30 4
d72 1
d244 6
a249 6
extern void set_hj_OuterBatches ARGS((HashJoinState node, File *value));
extern File *get_hj_OuterBatches ARGS((HashJoinState node));
extern void set_hj_InnerBatches ARGS((HashJoinState node, File *value));
extern File *get_hj_InnerBatches ARGS((HashJoinState node));
extern void set_hj_OuterReadPos ARGS((HashJoinState node, char *value));
extern char *get_hj_OuterReadPos ARGS((HashJoinState node));
d266 2
d290 1
a290 1
extern TupleTableSlot MakeTupleTableSlot ARGS((bool ttc_shouldFree));
d294 1
a294 1
extern TupleTableSlot IMakeTupleTableSlot ARGS((bool ttc_shouldFree));
d304 1
a304 1
extern JunkFilter MakeJunkFilter ARGS((List jf_targetlist, int jf_len, AttributePtr jf_tupType, Pointer jf_tupValues, TupleTableSlot jf_tupleSlot, ExprContext jf_econtext));
d308 1
a308 1
extern JunkFilter IMakeJunkFilter ARGS((List jf_targetlist, int jf_len, AttributePtr jf_tupType, Pointer jf_tupValues, TupleTableSlot jf_tupleSlot, ExprContext jf_econtext));
d430 1
a430 1
extern HashJoinState MakeHashJoinState ARGS((HashJoinTable hj_HashTable, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
d434 1
a434 1
extern HashJoinState IMakeHashJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, HashJoinTable hj_HashTable, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, Var hj_InnerHashKey, FileP hj_OuterBatches, FileP hj_InnerBatches, charP hj_OuterReadPos, int hj_OuterReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
a456 2
extern void set_hashBatches ARGS((HashState node, File *value));
extern File *get_hashBatches ARGS((HashState node));
d462 1
a462 1
extern HashState IMakeHashState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext,  FileP hashBatches));
@


1.26
log
@more changes for parallel hashjoin
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.25 90/11/07 12:01:54 hong Exp Locker: hong $ */
d54 4
a57 4
extern void set_jf_targetlist ARGS((JunkFilter node, List value));
extern List get_jf_targetlist ARGS((JunkFilter node));
extern void set_jf_len ARGS((JunkFilter node, int value));
extern int get_jf_len ARGS((JunkFilter node));
d60 8
a67 7
extern void set_jf_tupValues ARGS((JunkFilter node, Pointer value));
extern Pointer get_jf_tupValues ARGS((JunkFilter node));
extern void set_jf_tupleSlot ARGS((JunkFilter node, TupleTableSlot value));
extern TupleTableSlot get_jf_tupleSlot ARGS((JunkFilter node));
extern void set_jf_econtext ARGS((JunkFilter node, ExprContext value));
extern ExprContext get_jf_econtext ARGS((JunkFilter node));
extern void set_es_direction ARGS((EState node, ScanDirection value));
@


1.25
log
@changes in hashjoin related nodes to allow parallel execution
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.24 90/10/11 10:35:41 cimarron Exp Locker: hong $ */
d228 2
@


1.24
log
@added support for JunkFilter nodes to solve some bugs in replace/delete
queries in the executor.
@
text
@d1 1
a1 1
/* $Header$ */
d232 2
a233 10
extern void set_hj_NBatch ARGS((HashJoinState node, int value));
extern int get_hj_NBatch ARGS((HashJoinState node));
extern void set_hj_OuterBatches ARGS((HashJoinState node, FileP value));
extern FileP get_hj_OuterBatches ARGS((HashJoinState node));
extern void set_hj_OuterBatchPos ARGS((HashJoinState node, charPP value));
extern charPP get_hj_OuterBatchPos ARGS((HashJoinState node));
extern void set_hj_InnerBatches ARGS((HashJoinState node, FileP value));
extern FileP get_hj_InnerBatches ARGS((HashJoinState node));
extern void set_hj_InnerBatchSizes ARGS((HashJoinState node, intP value));
extern intP get_hj_InnerBatchSizes ARGS((HashJoinState node));
d236 8
a243 6
extern void set_hj_CurBatch ARGS((HashJoinState node, int value));
extern int get_hj_CurBatch ARGS((HashJoinState node));
extern void set_hj_ReadPos ARGS((HashJoinState node, charP value));
extern charP get_hj_ReadPos ARGS((HashJoinState node));
extern void set_hj_ReadBlk ARGS((HashJoinState node, int value));
extern int get_hj_ReadBlk ARGS((HashJoinState node));
a257 8
extern void set_hashNBatch ARGS((HashState node, int value));
extern int get_hashNBatch ARGS((HashState node));
extern void set_hashBatches ARGS((HashState node, FileP value));
extern FileP get_hashBatches ARGS((HashState node));
extern void set_hashBatchPos ARGS((HashState node, charPP value));
extern charPP get_hashBatchPos ARGS((HashState node));
extern void set_hashBatchSizes ARGS((HashState node, intP value));
extern intP get_hashBatchSizes ARGS((HashState node));
d420 1
a420 1
extern HashJoinState MakeHashJoinState ARGS((HashJoinTable hj_HashTable, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, int hj_NBatch, FileP hj_OuterBatches, charPP hj_OuterBatchPos, FileP hj_InnerBatches, intP hj_InnerBatchSizes, Var hj_InnerHashKey, int hj_CurBatch, charP hj_ReadPos, int hj_ReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
d424 1
a424 1
extern HashJoinState IMakeHashJoinState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, HashJoinTable hj_HashTable, HashBucket hj_CurBucket, HeapTuple hj_CurTuple, int hj_NBatch, FileP hj_OuterBatches, charPP hj_OuterBatchPos, FileP hj_InnerBatches, intP hj_InnerBatchSizes, Var hj_InnerHashKey, int hj_CurBatch, charP hj_ReadPos, int hj_ReadBlk, Pointer hj_SavedTupleSlot, Pointer hj_TemporaryTupleSlot));
d447 2
d450 1
a450 1
extern HashState MakeHashState ARGS((int hashNBatch, FileP hashBatches, charPP hashBatchPos, intP hashBatchSizes));
d454 1
a454 1
extern HashState IMakeHashState ARGS((int base_id, Pointer base_parent, Pointer base_parent_state, HookNode base_hook, TupleTableSlot cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, TupleTableSlot cs_ResultTupleSlot, ExprContext cs_ExprContext, int hashNBatch, FileP hashBatches, charPP hashBatchPos, intP hashBatchSizes));
@


1.23
log
@converted everything to use the new TupleTableSlot abstractions
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.22 90/10/01 01:15:24 cimarron Exp $ */
d30 36
d106 2
a109 24
extern void set_ecxt_scantuple ARGS((ExprContext node, TupleTableSlot value));
extern TupleTableSlot get_ecxt_scantuple ARGS((ExprContext node));
extern void set_ecxt_scantype ARGS((ExprContext node, AttributePtr value));
extern AttributePtr get_ecxt_scantype ARGS((ExprContext node));
extern void set_ecxt_scan_buffer ARGS((ExprContext node, Buffer value));
extern Buffer get_ecxt_scan_buffer ARGS((ExprContext node));
extern void set_ecxt_innertuple ARGS((ExprContext node, TupleTableSlot value));
extern TupleTableSlot get_ecxt_innertuple ARGS((ExprContext node));
extern void set_ecxt_innertype ARGS((ExprContext node, AttributePtr value));
extern AttributePtr get_ecxt_innertype ARGS((ExprContext node));
extern void set_ecxt_inner_buffer ARGS((ExprContext node, Buffer value));
extern Buffer get_ecxt_inner_buffer ARGS((ExprContext node));
extern void set_ecxt_outertuple ARGS((ExprContext node, TupleTableSlot value));
extern TupleTableSlot get_ecxt_outertuple ARGS((ExprContext node));
extern void set_ecxt_outertype ARGS((ExprContext node, AttributePtr value));
extern AttributePtr get_ecxt_outertype ARGS((ExprContext node));
extern void set_ecxt_outer_buffer ARGS((ExprContext node, Buffer value));
extern Buffer get_ecxt_outer_buffer ARGS((ExprContext node));
extern void set_ecxt_relation ARGS((ExprContext node, Relation value));
extern Relation get_ecxt_relation ARGS((ExprContext node));
extern void set_ecxt_relid ARGS((ExprContext node, Index value));
extern Index get_ecxt_relid ARGS((ExprContext node));
extern void set_ecxt_param_list_info ARGS((ExprContext node, ParamListInfo value));
extern ParamListInfo get_ecxt_param_list_info ARGS((ExprContext node));
d300 14
d315 1
a315 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable));
d319 1
a319 1
extern EState IMakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Buffer es_qualification_tuple_buffer, HeapTuple es_raw_qualification_tuple, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation es_explain_relation, int es_BaseId, TupleTable es_tupleTable));
a327 7
extern void RInitExprContext ARGS((Pointer p));
extern ExprContext MakeExprContext ARGS((TupleTableSlot ecxt_scantuple, AttributePtr ecxt_scantype, Buffer ecxt_scan_buffer, TupleTableSlot ecxt_innertuple, AttributePtr ecxt_innertype, Buffer ecxt_inner_buffer, TupleTableSlot ecxt_outertuple, AttributePtr ecxt_outertype, Buffer ecxt_outer_buffer, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
extern void PrintExprContext ARGS((FILE *fp, ExprContext node));
extern bool EqualExprContext ARGS((ExprContext a, ExprContext b));
extern bool CopyExprContext ARGS((ExprContext from, ExprContext *to, int alloc));
extern ExprContext IMakeExprContext ARGS((TupleTableSlot ecxt_scantuple, AttributePtr ecxt_scantype, Buffer ecxt_scan_buffer, TupleTableSlot ecxt_innertuple, AttributePtr ecxt_innertype, Buffer ecxt_inner_buffer, TupleTableSlot ecxt_outertuple, AttributePtr ecxt_outertype, Buffer ecxt_outer_buffer, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
extern ExprContext RMakeExprContext ARGS(());
@


1.22
log
@*** empty log message ***
@
text
@d1 1
a1 1
/* $Header$ */
@


1.21
log
@change scantemp to scantemps
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.20 90/08/18 17:13:42 sp Exp Locker: hong $ */
d28 2
a49 1
extern void set_es_relation_relation_descriptor ARGS((EState node, Relation value));
d52 1
d68 2
d72 2
a73 2
extern void set_ecxt_scantuple ARGS((ExprContext node, List value));
extern List get_ecxt_scantuple ARGS((ExprContext node));
d78 2
a79 2
extern void set_ecxt_innertuple ARGS((ExprContext node, List value));
extern List get_ecxt_innertuple ARGS((ExprContext node));
d84 2
a85 2
extern void set_ecxt_outertuple ARGS((ExprContext node, List value));
extern List get_ecxt_outertuple ARGS((ExprContext node));
d96 2
d112 4
d118 2
a119 2
extern void set_cs_OuterTuple ARGS((CommonState node, List value));
extern List get_cs_OuterTuple ARGS((CommonState node));
d132 2
d174 1
d176 4
a179 1
extern void set_css_ruleInfo ARGS((CommonScanState node, ScanStateRuleInfo value));
d184 4
a201 4
extern void set_st_whichplan ARGS((ScanTempState node, int value));
extern int get_st_whichplan ARGS((ScanTempState node));
extern void set_st_nplans ARGS((ScanTempState node, int value));
extern int get_st_nplans ARGS((ScanTempState node));
d210 2
a211 2
extern void set_mj_MarkedTuple ARGS((MergeJoinState node, List value));
extern List get_mj_MarkedTuple ARGS((MergeJoinState node));
d220 8
a227 8
extern void set_hj_OuterBatches ARGS((HashJoinState node, File *value));
extern File *get_hj_OuterBatches ARGS((HashJoinState node));
extern void set_hj_OuterBatchPos ARGS((HashJoinState node, char **value));
extern char **get_hj_OuterBatchPos ARGS((HashJoinState node));
extern void set_hj_InnerBatches ARGS((HashJoinState node, File *value));
extern File *get_hj_InnerBatches ARGS((HashJoinState node));
extern void set_hj_InnerBatchSizes ARGS((HashJoinState node, int *value));
extern int *get_hj_InnerBatchSizes ARGS((HashJoinState node));
d232 2
a233 2
extern void set_hj_ReadPos ARGS((HashJoinState node, char *value));
extern char *get_hj_ReadPos ARGS((HashJoinState node));
d236 4
d252 7
a258 6
extern void set_hashBatches ARGS((HashState node, File *value));
extern File *get_hashBatches ARGS((HashState node));
extern void set_hashBatchPos ARGS((HashState node, char **value));
extern char **get_hashBatchPos ARGS((HashState node));
extern void set_hashBatchSizes ARGS((HashState node, int *value));
extern int *get_hashBatchSizes ARGS((HashState node));
d262 4
d269 4
d276 12
a287 2
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, Relation
es_explain_relation, int es_BaseId));
d290 12
a301 1
extern ExprContext MakeExprContext ARGS((List ecxt_scantuple, AttributePtr ecxt_scantype, Buffer ecxt_scan_buffer, List ecxt_innertuple, AttributePtr ecxt_innertype, Buffer ecxt_inner_buffer, List ecxt_outertuple, AttributePtr ecxt_outertype, Buffer ecxt_outer_buffer, Relation ecxt_relation, Index ecxt_relid, ParamListInfo ecxt_param_list_info));
d304 5
a308 1
extern HookNode MakeHookNode ARGS((HookFunction hook_pre_procnode, HookFunction hook_pre_endnode, HookFunction hook_post_initnode, HookFunction hook_post_procnode, HookFunction hook_post_endnode, Pointer hook_data));
d311 5
a315 1
extern BaseNode MakeBaseNode ARGS((int base_id, HookNode base_hook));
d318 5
a322 1
extern CommonState MakeCommonState ARGS((List cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes, ExprContext cs_ExprContext));
d325 4
d332 4
d339 4
d346 4
d353 4
d360 5
a364 1
extern CommonScanState MakeCommonScanState ARGS((Relation css_currentRelation, HeapScanDesc css_currentScanDesc));
d367 4
d374 11
d388 11
d402 5
a406 1
extern MergeJoinState MakeMergeJoinState ARGS((List mj_OSortopI, List mj_ISortopO, int mj_JoinState, List mj_MarkedTuple));
d409 5
a413 1
extern HashJoinState MakeHashJoinState ARGS((int mj_OSortopI));
d416 4
d423 4
d430 4
d437 5
a441 1
extern HashState MakeHashState ARGS((int sort_Flag));
d444 3
a446 1
extern ScanTempState MakeScanTempState ARGS(());
@


1.20
log
@New field in EState: es_qualification_tuple_buffer (the Buffer
of the qualification_tuple).
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.19 90/08/17 13:35:08 hong Exp Locker: sp $ */
d182 4
@


1.19
log
@new classes for plan fragments, etc.
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.18 90/06/26 23:02:14 hong Version_2 Locker: hong $ */
d46 2
@


1.18
log
@changes for hybrid hashjoin
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.17 90/06/13 01:50:47 hong Exp Locker: hong $ */
d64 2
d302 1
@


1.17
log
@changes for hashjoin
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.16 90/04/19 19:40:28 sp Exp $ */
d194 18
d222 8
@


1.16
log
@New field added to the CommonScanState node: css_ruleInfo
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.15 90/04/03 17:01:38 sp Exp $ */
d188 6
@


1.15
log
@Added the accessor routines for explain_relation
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.14 90/03/07 17:09:01 sp Exp $ */
d158 2
@


1.14
log
@added defs for `set_es_raw_qualification_tuple()' and
get_es_raw_qualification_tuple().
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.13 90/02/01 13:51:30 cimarron Exp $ */
d60 2
d205 2
a206 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info, Prs2EStateInfo es_prs2_info, int es_BaseId));
@


1.13
log
@added support for hooks, unique, parallel and material nodes
@
text
@d1 1
a1 1
/* $Header$ */
d47 2
@


1.12
log
@Added RecursiveState (rcs) accessors
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.11 90/01/11 17:42:59 sp Exp Locker: jamesb $ */
d58 2
d84 16
d116 2
d141 9
a149 1
extern bool get_rcs_tempsSwapped ARGS((RecursiveState node, bool value));
a173 6
extern void set_sort_Flag ARGS((SortState node, bool value));
extern bool get_sort_Flag ARGS((SortState node));
extern void set_sort_Keys ARGS((SortState node, Pointer value));
extern Pointer get_sort_Keys ARGS((SortState node));
extern void set_sort_TempRelation ARGS((SortState node, Relation value));
extern Relation get_sort_TempRelation ARGS((SortState node));
d182 10
a191 2
extern void set_ex_SatState ARGS((ExistentialState node, List value));
extern List get_ex_SatState ARGS((ExistentialState node));
d201 1
a201 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, TupleCount es_tuplecount, ParamListInfo es_param_list_info));
d207 6
d216 3
d225 1
a225 3
extern RecursiveState MakeRecursiveState ARGS((int rcs_whichSequence, int rcs_wh
ichPlan, List rcs_numPlans, ListPtr rcs_initialized, List rcs_rtentries, bool rc
s_effectsNoted, bool rcs_tempsSwapped));
d228 3
a242 3
extern SortState MakeSortState ARGS((bool sort_Flag, Pointer sort_Keys, Relation sort_TempRelation));
extern void PrintSortState ARGS((FILE *fp, SortState node));
extern bool EqualSortState ARGS((SortState a, SortState b));
d249 12
a260 3
extern ExistentialState MakeExistentialState ARGS((List ex_SatState));
extern void PrintExistentialState ARGS((FILE *fp, ExistentialState node));
extern bool EqualExistentialState ARGS((ExistentialState a, ExistentialState b));
@


1.11
log
@Added declarations for set_es_prs2_info() and get_es_prs2_info().
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.10 89/11/02 18:05:28 cimarron Exp Locker: sp $ */
d108 14
d186 5
@


1.10
log
@added support for Merge Joins in the executor
@
text
@d1 1
a1 1
/* $Header$ */
d56 2
@


1.9
log
@added TupleCount node to hold statistics
@
text
@d52 2
d56 24
a79 2
extern void set_es_tuplecount ARGS((EState node, TupleCount value));
extern TupleCount get_es_tuplecount ARGS((EState node));
d94 2
d122 2
d140 4
a143 6
extern void set_mj_MarkFlag ARGS((MergeJoinState node, bool value));
extern bool get_mj_MarkFlag ARGS((MergeJoinState node));
extern void set_mj_FrwdMarkPos ARGS((MergeJoinState node, List value));
extern List get_mj_FrwdMarkPos ARGS((MergeJoinState node));
extern void set_mj_BkwdMarkPos ARGS((MergeJoinState node, List value));
extern List get_mj_BkwdMarkPos ARGS((MergeJoinState node));
d155 1
a155 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, ParamListInfo es_param_list_info, TupleCount es_tuplecount));
d158 4
a161 1
extern CommonState MakeCommonState ARGS((List cs_OuterTuple, AttributePtr cs_TupType, Pointer cs_TupValue, int cs_Level, AttributePtr cs_ScanType, AttributeNumberPtr cs_ScanAttributes, int cs_NumScanAttributes));
d176 1
a176 1
extern IndexScanState MakeIndexScanState ARGS((int iss_NumIndices, int iss_IndexPtr, ScanKeyPtr iss_ScanKeys, IntPtr iss_NumScanKeys, RelationPtr iss_RelationDescs, IndexScanDescPtr iss_ScanDescs));
d185 1
a185 1
extern MergeJoinState MakeMergeJoinState ARGS((List mj_OSortopI, List mj_ISortopO, bool mj_MarkFlag, List mj_FrwdMarkPos, List mj_BkwdMarkPos));
@


1.8
log
@added support for MergeJoins in executor
@
text
@d16 12
d54 2
d126 4
a129 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info, ParamListInfo es_param_list_info));
@


1.7
log
@set_es_param_list_info & get_es_param_list_info declarations added...
@
text
@d1 1
a1 1
/* $Header: RCS/execnodes.a.h,v 1.6 89/10/12 16:43:52 cimarron Exp $ */
d40 16
a55 16
extern ParamListInfo get_es_param_list_info ARGS((EState  node));
extern void set_es_param_list_info ARGS((EState  node,ParamListInfo value));
extern void set_sn_OuterTuple ARGS((StateNode node, List value));
extern List get_sn_OuterTuple ARGS((StateNode node));
extern void set_sn_TupType ARGS((StateNode node, AttributePtr value));
extern AttributePtr get_sn_TupType ARGS((StateNode node));
extern void set_sn_TupValue ARGS((StateNode node, Pointer value));
extern Pointer get_sn_TupValue ARGS((StateNode node));
extern void set_sn_Level ARGS((StateNode node, int value));
extern int get_sn_Level ARGS((StateNode node));
extern void set_sn_ScanType ARGS((StateNode node, AttributePtr value));
extern AttributePtr get_sn_ScanType ARGS((StateNode node));
extern void set_sn_ScanAttributes ARGS((StateNode node, AttributeNumberPtr value));
extern AttributeNumberPtr get_sn_ScanAttributes ARGS((StateNode node));
extern void set_sn_NumScanAttributes ARGS((StateNode node, int value));
extern int get_sn_NumScanAttributes ARGS((StateNode node));
d66 6
a71 8
extern void set_cs_PortalFlag ARGS((CommonState node, bool value));
extern bool get_cs_PortalFlag ARGS((CommonState node));
extern void set_cs_currentRelation ARGS((CommonState node, Relation value));
extern Relation get_cs_currentRelation ARGS((CommonState node));
extern void set_cs_currentScanDesc ARGS((CommonState node, HeapScanDesc value));
extern HeapScanDesc get_cs_currentScanDesc ARGS((CommonState node));
extern void set_ss_ProcLeftFlag ARGS((ScanState node, bool value));
extern bool get_ss_ProcLeftFlag ARGS((ScanState node));
d86 2
d112 1
a112 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, Relation es_into_relation_descriptor, RelationInfo es_result_relation_info));
d115 3
a117 3
extern StateNode MakeStateNode ARGS((List sn_OuterTuple, AttributePtr sn_TupType, Pointer sn_TupValue, int sn_Level, AttributePtr sn_ScanType, AttributeNumberPtr sn_ScanAttributes, int sn_NumScanAttributes));
extern void PrintStateNode ARGS((FILE *fp, StateNode node));
extern bool EqualStateNode ARGS((StateNode a, StateNode b));
d124 4
a127 4
extern CommonState MakeCommonState ARGS((bool cs_PortalFlag, Relation cs_currentRelation, HeapScanDesc cs_currentScanDesc));
extern void PrintCommonState ARGS((FILE *fp, CommonState node));
extern bool EqualCommonState ARGS((CommonState a, CommonState b));
extern ScanState MakeScanState ARGS((bool ss_ProcLeftFlag, Index ss_OldRelId));
d133 1
a133 1
extern NestLoopState MakeNestLoopState ARGS((int iss_NumIndices));
d142 3
@


1.6
log
@pre-sort checkin for spyros.  Sorts still don't work but
functionality is almost there..
@
text
@d1 1
a1 1
/* $Header$ */
d40 2
@


1.5
log
@added dummy interfaces for parallel optimiser
and made some misc changes..
@
text
@d1 5
d14 2
d50 4
a69 4
extern void set_ss_RuleFlag ARGS((ScanState node, bool value));
extern bool get_ss_RuleFlag ARGS((ScanState node));
extern void set_ss_RuleDesc ARGS((ScanState node, List value));
extern List get_ss_RuleDesc ARGS((ScanState node));
d86 6
a101 4
extern void set_sort_Flag ARGS((SortState node, bool value));
extern bool get_sort_Flag ARGS((SortState node));
extern void set_sort_Keys ARGS((SortState node, List value));
extern List get_sort_Keys ARGS((SortState node));
d104 5
a108 2
extern RelationInfo MakeRelationInfo ARGS((Index ri_RangeTableIndex, Relation ri_RelationDesc, int ri_NumIndices, RelationPtr ri_IndexRelationDescs));
extern void PrintRelationInfo ARGS((RelationInfo node));
d111 1
a111 1
extern void PrintEState ARGS((EState node));
d113 2
a114 2
extern StateNode MakeStateNode ARGS((List sn_OuterTuple, AttributePtr sn_TupType, Pointer sn_TupValue, int sn_Level, AttributePtr sn_ScanType));
extern void PrintStateNode ARGS((StateNode node));
d117 1
a117 1
extern void PrintResultState ARGS((ResultState node));
d120 1
a120 1
extern void PrintAppendState ARGS((AppendState node));
d123 1
a123 1
extern void PrintCommonState ARGS((CommonState node));
d125 2
a126 2
extern ScanState MakeScanState ARGS((bool ss_RuleFlag, List ss_RuleDesc, bool ss_ProcLeftFlag, Index ss_OldRelId));
extern void PrintScanState ARGS((ScanState node));
d129 1
a129 1
extern void PrintIndexScanState ARGS((IndexScanState node));
d132 1
a132 1
extern void PrintNestLoopState ARGS((NestLoopState node));
d134 3
d138 1
a138 1
extern void PrintMergeJoinState ARGS((MergeJoinState node));
a139 3
extern SortState MakeSortState ARGS((bool sort_Flag, List sort_Keys));
extern void PrintSortState ARGS((SortState node));
extern bool EqualSortState ARGS((SortState a, SortState b));
d141 1
a141 1
extern void PrintExistentialState ARGS((ExistentialState node));
@


1.4
log
@added code to support index scans in the executor.
@
text
@d29 2
d98 1
a98 1
extern EState MakeEState ARGS((ScanDirection es_direction, abstime es_time, ObjectId es_owner, List es_locks, List es_subplan_info, Name es_error_message, List es_range_table, HeapTuple es_qualification_tuple, ItemPointer es_qualification_tuple_id, Relation es_relation_relation_descriptor, RelationInfo es_result_relation_info));
@


1.3
log
@Working version of C-only demo
@
text
@d1 96
a96 81
extern void set_direction ARGS((EState node, ScanDirection value));
extern ScanDirection get_direction ARGS((EState node));
extern void set_time ARGS((EState node, abstime value));
extern abstime get_time ARGS((EState node));
extern void set_owner ARGS((EState node, ObjectId value));
extern ObjectId get_owner ARGS((EState node));
extern void set_locks ARGS((EState node, List value));
extern List get_locks ARGS((EState node));
extern void set_subplan_info ARGS((EState node, List value));
extern List get_subplan_info ARGS((EState node));
extern void set_error_message ARGS((EState node, Name value));
extern Name get_error_message ARGS((EState node));
extern void set_range_table ARGS((EState node, List value));
extern List get_range_table ARGS((EState node));
extern void set_qualification_tuple ARGS((EState node, HeapTuple value));
extern HeapTuple get_qualification_tuple ARGS((EState node));
extern void set_qualification_tuple_id ARGS((EState node, ItemPointer value));
extern ItemPointer get_qualification_tuple_id ARGS((EState node));
extern void set_relation_relation_descriptor ARGS((EState node, Relation value));
extern Relation get_relation_relation_descriptor ARGS((EState node));
extern void set_result_relation_oid ARGS((EState node, ObjectId value));
extern ObjectId get_result_relation_oid ARGS((EState node));
extern void set_result_relation_descriptor ARGS((EState node, Relation value));
extern Relation get_result_relation_descriptor ARGS((EState node));
extern void set_OuterTuple ARGS((StateNode node, List value));
extern List get_OuterTuple ARGS((StateNode node));
extern void set_TupType ARGS((StateNode node, AttributePtr value));
extern AttributePtr get_TupType ARGS((StateNode node));
extern void set_TupValue ARGS((StateNode node, Pointer value));
extern Pointer get_TupValue ARGS((StateNode node));
extern void set_Level ARGS((StateNode node, int value));
extern int get_Level ARGS((StateNode node));
extern void set_ScanType ARGS((StateNode node, AttributePtr value));
extern AttributePtr get_ScanType ARGS((StateNode node));
extern void set_Loop ARGS((ResultState node, int value));
extern int get_Loop ARGS((ResultState node));
extern void set_PortalFlag ARGS((CommonState node, bool value));
extern bool get_PortalFlag ARGS((CommonState node));
extern void set_currentRelation ARGS((CommonState node, Relation value));
extern Relation get_currentRelation ARGS((CommonState node));
extern void set_currentScanDesc ARGS((CommonState node, HeapScanDesc value));
extern HeapScanDesc get_currentScanDesc ARGS((CommonState node));
extern void set_RuleFlag ARGS((ScanState node, bool value));
extern bool get_RuleFlag ARGS((ScanState node));
extern void set_RuleDesc ARGS((ScanState node, List value));
extern List get_RuleDesc ARGS((ScanState node));
extern void set_ProcLeftFlag ARGS((ScanState node, bool value));
extern bool get_ProcLeftFlag ARGS((ScanState node));
extern void set_OldRelId ARGS((ScanState node, Index value));
extern Index get_OldRelId ARGS((ScanState node));
extern void set_IndexPtr ARGS((ScanState node, int value));
extern int get_IndexPtr ARGS((ScanState node));
extern void set_Skeys ARGS((ScanState node, ScanKey value));
extern ScanKey get_Skeys ARGS((ScanState node));
extern void set_SkeysCount ARGS((ScanState node, int value));
extern int get_SkeysCount ARGS((ScanState node));
extern void set_OSortopI ARGS((MergeJoinState node, List value));
extern List get_OSortopI ARGS((MergeJoinState node));
extern void set_ISortopO ARGS((MergeJoinState node, List value));
extern List get_ISortopO ARGS((MergeJoinState node));
extern void set_arkFlag ARGS((MergeJoinState node, bool value));
extern bool get_arkFlag ARGS((MergeJoinState node));
extern void set_FrwdMarkPos ARGS((MergeJoinState node, List value));
extern List get_FrwdMarkPos ARGS((MergeJoinState node));
extern void set_BkwdMarkPos ARGS((MergeJoinState node, List value));
extern List get_BkwdMarkPos ARGS((MergeJoinState node));
extern void set_Flag ARGS((SortState node, bool value));
extern bool get_Flag ARGS((SortState node));
extern void set_Keys ARGS((SortState node, List value));
extern List get_Keys ARGS((SortState node));
extern void set_whichplan ARGS((AppendState node, int value));
extern int get_whichplan ARGS((AppendState node));
extern void set_nplans ARGS((AppendState node, int value));
extern int get_nplans ARGS((AppendState node));
extern void set_initialzed ARGS((AppendState node, List value));
extern List get_initialzed ARGS((AppendState node));
extern void set_rtentries ARGS((AppendState node, List value));
extern List get_rtentries ARGS((AppendState node));
extern void set_SatState ARGS((ExistentialState node, List value));
extern List get_SatState ARGS((ExistentialState node));
extern EState MakeEState ARGS((ScanDirection direction, abstime time, ObjectId owner, List locks, List subplan_info, Name error_message, List range_table, HeapTuple qualification_tuple, ItemPointer qualification_tuple_id, Relation relation_relation_descriptor, ObjectId result_relation_oid, Relation result_relation_descriptor));
d99 1
a99 1
extern StateNode MakeStateNode ARGS((List OuterTuple, AttributePtr TupType, Pointer TupValue, int Level, AttributePtr ScanType));
d102 1
a102 1
extern ResultState MakeResultState ARGS((int Loop));
d105 4
a108 1
extern CommonState MakeCommonState ARGS((bool PortalFlag, Relation currentRelation, HeapScanDesc currentScanDesc));
d111 1
a111 1
extern ScanState MakeScanState ARGS((bool RuleFlag, List RuleDesc, bool ProcLeftFlag, Index OldRelId, int IndexPtr, ScanKey Skeys, int SkeysCount));
d114 4
a117 1
extern NestLoopState MakeNestLoopState ARGS((int RuleFlag));
d120 1
a120 1
extern MergeJoinState MakeMergeJoinState ARGS((List OSortopI, List ISortopO, bool arkFlag, List FrwdMarkPos, List BkwdMarkPos));
d123 1
a123 1
extern SortState MakeSortState ARGS((bool Flag, List Keys));
d126 1
a126 4
extern AppendState MakeAppendState ARGS((int whichplan, int nplans, List initialzed, List rtentries));
extern void PrintAppendState ARGS((AppendState node));
extern bool EqualAppendState ARGS((AppendState a, AppendState b));
extern ExistentialState MakeExistentialState ARGS((List SatState));
@


1.2
log
@corrected node instance variable types
@
text
@@


1.1
log
@Initial revision
@
text
@a0 11
/*
 * execnodes.a.h --
 *	This came from Cimarron's directory.  -hirohama
 *
 * Identification:
 *	$Header$
 */

#ifndef	ExecNodesADefined		/* Include this file only once */
#define ExecNodesADefined	1

d21 2
a22 2
extern void set_result_relation ARGS((EState node, ObjectId value));
extern ObjectId get_result_relation ARGS((EState node));
d25 2
a26 2
extern void set_LeftTuple ARGS((StateNode node, List value));
extern List get_LeftTuple ARGS((StateNode node));
d33 38
a70 2
extern void set_SatState ARGS((ExistentialState node, List value));
extern List get_SatState ARGS((ExistentialState node));
d79 3
a81 19
extern void set_BufferPage ARGS((CommonState node, List value));
extern List get_BufferPage ARGS((CommonState node));
extern void set_OuterTuple ARGS((CommonState node, List value));
extern List get_OuterTuple ARGS((CommonState node));
extern void set_PortalFlag ARGS((CommonState node, List value));
extern List get_PortalFlag ARGS((CommonState node));
extern void set_ProcLeftFlag ARGS((ScanState node, List value));
extern List get_ProcLeftFlag ARGS((ScanState node));
extern void set_LispIndexPtr ARGS((ScanState node, List value));
extern List get_LispIndexPtr ARGS((ScanState node));
extern void set_SkeysCount ARGS((ScanState node, List value));
extern List get_SkeysCount ARGS((ScanState node));
extern void set_FrwdMarkPos ARGS((MergeJoinState node, List value));
extern List get_FrwdMarkPos ARGS((MergeJoinState node));
extern void set_Flag ARGS((SortState node, List value));
extern List get_Flag ARGS((SortState node));
extern void set_Keys ARGS((SortState node, List value));
extern List get_Keys ARGS((SortState node));
extern EState MakeEState ARGS((ScanDirection direction, abstime time, ObjectId owner, List locks, List subplan_info, Name error_message, List range_table, HeapTuple qualification_tuple, ItemPointer qualification_tuple_id, Relation relation_relation_descriptor, ObjectId result_relation, Relation result_relation_descriptor));
d84 1
a84 1
extern StateNode MakeStateNode ARGS((List LeftTuple, AttributePtr TupType, Pointer TupValue, int Level));
a86 3
extern ExistentialState MakeExistentialState ARGS((List SatState));
extern void PrintExistentialState ARGS((ExistentialState node));
extern bool EqualExistentialState ARGS((ExistentialState a, ExistentialState b));
d90 1
a90 4
extern AppendState MakeAppendState ARGS((int whichplan, int nplans, List initialzed, List rtentries));
extern void PrintAppendState ARGS((AppendState node));
extern bool EqualAppendState ARGS((AppendState a, AppendState b));
extern CommonState MakeCommonState ARGS((List BufferPage, List OuterTuple, List PortalFlag));
d93 4
a96 1
extern NestLoopState MakeNestLoopState ARGS((int BufferPage));
d99 1
a99 4
extern ScanState MakeScanState ARGS((List RuleFlag, List RuleDesc, List ProcLeftFlag, List OldRelId, List LispIndexPtr, List Skeys, List SkeysCount));
extern void PrintScanState ARGS((ScanState node));
extern bool EqualScanState ARGS((ScanState a, ScanState b));
extern MergeJoinState MakeMergeJoinState ARGS((List OSortopI, List ISortopO, List MarkFlag, List FrwdMarkPos, List BkwdMarkPos));
d102 1
a102 1
extern SortState MakeSortState ARGS((List Flag, List Keys));
d105 6
a110 2

#endif	/* !defined(ExecNodesADefined) */
@
