#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) |
Variables | |
PyObject * | PLy_interp_globals |
typedef struct PLyExecutionContext PLyExecutionContext |
PLyExecutionContext* PLy_current_execution_context | ( | void | ) |
Definition at line 363 of file plpy_main.c.
References elog, ERROR, and NULL.
Referenced by plpython_error_callback(), plpython_return_error_callback(), plpython_trigger_error_callback(), PLy_cursor_plan(), PLy_cursor_query(), PLy_spi_execute_plan(), PLy_spi_execute_query(), PLy_traceback(), and PLyDict_FromTuple().
{ if (PLy_execution_contexts == NULL) elog(ERROR, "no Python function is currently executing"); return PLy_execution_contexts; }
PyObject* PLy_interp_globals |
Definition at line 78 of file plpy_main.c.
Referenced by PLy_init_interp(), and PLy_procedure_compile().