diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2001-05-15 00:34:02 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2001-05-15 00:34:02 +0000 |
commit | a8bc265bad278a0abe27905d56102184906a18bf (patch) | |
tree | 8a738f1c4a65190b1ae3d064da604c463702e218 /src/include/nodes/execnodes.h | |
parent | 096e865438cb28404708d1d083271729c964fc3f (diff) |
EvalPlanQual was thoroughly broken for concurrent update/delete on inheritance
trees (mostly my fault). Repair. Also fix long-standing bug in ExecReplace:
after recomputing a concurrently updated tuple, we must recheck constraints.
Make EvalPlanQual leak memory with somewhat less enthusiasm than before,
although plugging leaks fully will require more changes than I care to risk
in a dot-release.
Diffstat (limited to 'src/include/nodes/execnodes.h')
-rw-r--r-- | src/include/nodes/execnodes.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h index 2cf9378cf11..c5a30ebe900 100644 --- a/src/include/nodes/execnodes.h +++ b/src/include/nodes/execnodes.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: execnodes.h,v 1.57 2001/03/22 04:00:50 momjian Exp $ + * $Id: execnodes.h,v 1.57.2.1 2001/05/15 00:34:02 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -353,6 +353,8 @@ typedef struct ResultState * AppendState information * * whichplan which plan is being executed (0 .. n-1) + * firstplan first plan to execute (usually 0) + * lastplan last plan to execute (usually n-1) * nplans how many plans are in the list * initialized array of ExecInitNode() results * ---------------- @@ -361,6 +363,8 @@ typedef struct AppendState { CommonState cstate; /* its first field is NodeTag */ int as_whichplan; + int as_firstplan; + int as_lastplan; int as_nplans; bool *as_initialized; } AppendState; |