aboutsummaryrefslogtreecommitdiff
path: root/src/pl/plpython/plpy_spi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pl/plpython/plpy_spi.h')
-rw-r--r--src/pl/plpython/plpy_spi.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pl/plpython/plpy_spi.h b/src/pl/plpython/plpy_spi.h
index a5e2e60da7f..98ccd210931 100644
--- a/src/pl/plpython/plpy_spi.h
+++ b/src/pl/plpython/plpy_spi.h
@@ -12,6 +12,9 @@ extern PyObject *PLy_spi_prepare(PyObject *self, PyObject *args);
extern PyObject *PLy_spi_execute(PyObject *self, PyObject *args);
extern PyObject *PLy_spi_execute_plan(PyObject *ob, PyObject *list, long limit);
+extern PyObject *PLy_commit(PyObject *self, PyObject *args);
+extern PyObject *PLy_rollback(PyObject *self, PyObject *args);
+
typedef struct PLyExceptionEntry
{
int sqlstate; /* hash key, must be first */