|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/xact.h"#include "plpy_elog.h"#include "plpy_subxactobject.h"#include "plpy_util.h"#include "utils/memutils.h"
Go to the source code of this file.
Functions | |
| static PyObject * | PLy_subtransaction_enter (PyObject *self, PyObject *unused) |
| static PyObject * | PLy_subtransaction_exit (PyObject *self, PyObject *args) |
| void | PLy_subtransaction_init_type (void) |
| PyObject * | PLy_subtransaction_new (PyObject *self, PyObject *unused) |
Definition at line 94 of file plpy_subxactobject.c.
References BeginInternalSubTransaction(), CurrentMemoryContext, CurrentResourceOwner, explicit_subtransactions, fb(), lcons(), MemoryContextAlloc(), MemoryContextSwitchTo(), PLy_exception_set(), and TopTransactionContext.
Definition at line 147 of file plpy_subxactobject.c.
References CurrentResourceOwner, explicit_subtransactions, fb(), linitial, list_delete_first(), MemoryContextSwitchTo(), NIL, pfree(), PLy_exception_set(), ReleaseCurrentSubTransaction(), RollbackAndReleaseCurrentSubTransaction(), type, and value.
Definition at line 58 of file plpy_subxactobject.c.
References elog, ERROR, fb(), PLy_SubtransactionType, and PLySubtransaction_spec.
Referenced by PyInit_plpy().
Definition at line 67 of file plpy_subxactobject.c.
References fb(), and PLy_SubtransactionType.
Definition at line 15 of file plpy_subxactobject.c.
Referenced by _PG_init(), PLy_abort_open_subtransactions(), PLy_procedure_call(), PLy_subtransaction_enter(), and PLy_subtransaction_exit().
|
static |
Definition at line 21 of file plpy_subxactobject.c.
|
static |
Definition at line 24 of file plpy_subxactobject.c.
|
static |
Definition at line 54 of file plpy_subxactobject.c.
Referenced by PLy_subtransaction_init_type(), and PLy_subtransaction_new().
|
static |
Definition at line 33 of file plpy_subxactobject.c.
|
static |
Definition at line 46 of file plpy_subxactobject.c.
Referenced by PLy_subtransaction_init_type().