diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-15 16:17:59 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-12-15 16:17:59 +0000 |
| commit | 5bab36e9f6c3f3a9e14a89e1124179a339d2c3a1 (patch) | |
| tree | a05154b129808efc7882599d96a1132051c2403b /src/include/executor/execdesc.h | |
| parent | 90b3a0b6fd3bc74804c01156491635e5d95091d9 (diff) | |
| download | postgresql-5bab36e9f6c3f3a9e14a89e1124179a339d2c3a1.tar.gz | |
Revise executor APIs so that all per-query state structure is built in
a per-query memory context created by CreateExecutorState --- and destroyed
by FreeExecutorState. This provides a final solution to the longstanding
problem of memory leaked by various ExecEndNode calls.
Diffstat (limited to 'src/include/executor/execdesc.h')
| -rw-r--r-- | src/include/executor/execdesc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/executor/execdesc.h b/src/include/executor/execdesc.h index 9a95551d7c..27148bb1d8 100644 --- a/src/include/executor/execdesc.h +++ b/src/include/executor/execdesc.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: execdesc.h,v 1.21 2002/12/05 15:50:36 tgl Exp $ + * $Id: execdesc.h,v 1.22 2002/12/15 16:17:54 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -50,4 +50,6 @@ extern QueryDesc *CreateQueryDesc(Query *parsetree, Plan *plantree, ParamListInfo params, bool doInstrument); +extern void FreeQueryDesc(QueryDesc *qdesc); + #endif /* EXECDESC_H */ |
