diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2003-12-18 20:21:53 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2003-12-18 20:21:53 +0000 |
commit | dc254c8674c0b179fea0f04128d5d68e2c28ee99 (patch) | |
tree | a9919157f75fa798576ebae8065bb0b6df416f67 /src/include/executor/executor.h | |
parent | 716a3d6cffcc2fa6b5a9e722e64911071b3bc04c (diff) |
Ensure set-returning functions in the targetlist of a plan node will be
shut down cleanly if the plan node is ReScanned before the SRFs are run
to completion. This fixes the problem for SQL-language functions, but
still need work on functions using the SRF_XXX() macros.
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index ad30681f1cd..7403beffd26 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: executor.h,v 1.102 2003/10/01 21:30:52 tgl Exp $ + * $Id: executor.h,v 1.102.2.1 2003/12/18 20:21:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -201,6 +201,7 @@ extern EState *CreateExecutorState(void); extern void FreeExecutorState(EState *estate); extern ExprContext *CreateExprContext(EState *estate); extern void FreeExprContext(ExprContext *econtext); +extern void ReScanExprContext(ExprContext *econtext); #define ResetExprContext(econtext) \ MemoryContextReset((econtext)->ecxt_per_tuple_memory) |