PostgreSQL Source Code
git master
|
#include "plpy_procedure.h"
Go to the source code of this file.
Data Structures | |
struct | PLyExecutionContext |
Typedefs | |
typedef struct PLyExecutionContext | PLyExecutionContext |
Functions | |
PLyExecutionContext * | PLy_current_execution_context (void) |
MemoryContext | PLy_get_scratch_context (PLyExecutionContext *context) |
Variables | |
PyObject * | PLy_interp_globals |
typedef struct PLyExecutionContext PLyExecutionContext |
PLyExecutionContext* PLy_current_execution_context | ( | void | ) |
Definition at line 365 of file plpy_main.c.
References elog, ERROR, and PLy_execution_contexts.
Referenced by plpython_return_error_callback(), plpython_trigger_error_callback(), PLy_commit(), PLy_cursor_fetch(), PLy_cursor_iternext(), PLy_cursor_plan(), PLy_cursor_query(), PLy_input_convert(), PLy_input_from_tuple(), PLy_rollback(), PLy_spi_execute_fetch_result(), PLy_spi_execute_plan(), PLy_spi_execute_query(), PLy_spi_prepare(), PLy_traceback(), PLyDict_FromComposite(), and PLyObject_ToComposite().
MemoryContext PLy_get_scratch_context | ( | PLyExecutionContext * | context | ) |
Definition at line 374 of file plpy_main.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, context, and TopTransactionContext.
Referenced by PLy_input_convert(), and PLy_input_from_tuple().
|
extern |
Definition at line 51 of file plpy_main.c.
Referenced by PLy_init_interp(), and PLy_procedure_compile().