diff options
Diffstat (limited to 'src/pl/plpython/plpy_main.h')
-rw-r--r-- | src/pl/plpython/plpy_main.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pl/plpython/plpy_main.h b/src/pl/plpython/plpy_main.h index b13e2c21a11..10426c43236 100644 --- a/src/pl/plpython/plpy_main.h +++ b/src/pl/plpython/plpy_main.h @@ -25,4 +25,7 @@ typedef struct PLyExecutionContext /* Get the current execution context */ extern PLyExecutionContext *PLy_current_execution_context(void); +/* Get the scratch memory context for specified execution context */ +extern MemoryContext PLy_get_scratch_context(PLyExecutionContext *context); + #endif /* PLPY_MAIN_H */ |