Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
35026079
Commit
35026079
authored
Dec 18, 2002
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update EvalPlanQual() to work with new executor memory management method.
It doesn't leak memory anymore ...
parent
68965976
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
186 additions
and
139 deletions
+186
-139
src/backend/executor/execMain.c
src/backend/executor/execMain.c
+178
-131
src/backend/executor/execUtils.c
src/backend/executor/execUtils.c
+2
-2
src/include/nodes/execnodes.h
src/include/nodes/execnodes.h
+6
-6
No files found.
src/backend/executor/execMain.c
View file @
35026079
This diff is collapsed.
Click to expand it.
src/backend/executor/execUtils.c
View file @
35026079
...
...
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.9
3 2002/12/15 16:17:46
tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/executor/execUtils.c,v 1.9
4 2002/12/18 00:14:47
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -204,7 +204,7 @@ CreateExecutorState(void)
estate
->
es_per_tuple_exprcontext
=
NULL
;
estate
->
es_
orig
Plan
=
NULL
;
estate
->
es_
top
Plan
=
NULL
;
estate
->
es_evalPlanQual
=
NULL
;
estate
->
es_evTupleNull
=
NULL
;
estate
->
es_evTuple
=
NULL
;
...
...
src/include/nodes/execnodes.h
View file @
35026079
...
...
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: execnodes.h,v 1.8
7 2002/12/15 21:01:34
tgl Exp $
* $Id: execnodes.h,v 1.8
8 2002/12/18 00:14:47
tgl Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -316,11 +316,11 @@ typedef struct EState
ExprContext
*
es_per_tuple_exprcontext
;
/* 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
;
Plan
*
es_topPlan
;
/* link to top of plan tree */
struct
evalPlanQual
*
es_evalPlanQual
;
/* chain of PlanQual states */
bool
*
es_evTupleNull
;
/* local array of EPQ status */
HeapTuple
*
es_evTuple
;
/* shared array of EPQ substitute tuples */
bool
es_useEvalPlan
;
/* evaluating EPQ tuples? */
}
EState
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment