diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/nodes/execnodes.h | 38 | ||||
| -rw-r--r-- | src/include/utils/tqual.h | 3 |
2 files changed, 24 insertions, 17 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 37de50b014..d9cdd2509d 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: execnodes.h,v 1.21 1999/01/25 12:01:19 vadim Exp $ + * $Id: execnodes.h,v 1.22 1999/01/29 09:23:13 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -194,21 +194,27 @@ typedef struct JunkFilter */ typedef struct EState { - NodeTag type; - ScanDirection es_direction; - Snapshot es_snapshot; - List *es_range_table; - RelationInfo *es_result_relation_info; - Relation es_into_relation_descriptor; - ParamListInfo es_param_list_info; - ParamExecData *es_param_exec_vals; /* this is for subselects */ - int es_BaseId; - TupleTable es_tupleTable; - JunkFilter *es_junkFilter; - int *es_refcount; - uint32 es_processed; /* # of tuples processed */ - Oid es_lastoid; /* last oid processed (by INSERT) */ - List *es_rowMark; /* not good place, but there is no other */ + NodeTag type; + ScanDirection es_direction; + Snapshot es_snapshot; + List *es_range_table; + RelationInfo *es_result_relation_info; + Relation es_into_relation_descriptor; + ParamListInfo es_param_list_info; + ParamExecData *es_param_exec_vals; /* this is for subselects */ + int es_BaseId; + TupleTable es_tupleTable; + JunkFilter *es_junkFilter; + int *es_refcount; + uint32 es_processed; /* # of tuples processed */ + Oid es_lastoid; /* last oid processed (by INSERT) */ + List *es_rowMark; /* not good place, but there is no other */ + /* Below is to re-evaluate plan qual in READ COMMITTED mode */ + struct Plan *es_origPlan; + Pointer es_evalPlanQual; + bool *es_evTupleNull; + HeapTuple *es_evTuple; + bool es_useEvalPlan; } EState; /* ---------------- diff --git a/src/include/utils/tqual.h b/src/include/utils/tqual.h index 17ff6f3d90..7f811388e2 100644 --- a/src/include/utils/tqual.h +++ b/src/include/utils/tqual.h @@ -7,7 +7,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: tqual.h,v 1.18 1998/12/18 09:09:55 vadim Exp $ + * $Id: tqual.h,v 1.19 1999/01/29 09:23:17 vadim Exp $ * *------------------------------------------------------------------------- */ @@ -22,6 +22,7 @@ typedef struct SnapshotData TransactionId xmax; /* XID >= xmax are invisible to me */ uint32 xcnt; /* # of xact below */ TransactionId *xip; /* array of xacts in progress */ + ItemPointerData tid; /* required for Dirty snapshot -:( */ } SnapshotData; typedef SnapshotData *Snapshot; |
