PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "plpy_cursorobject.h"
#include "plpy_planobject.h"
#include "plpy_spi.h"
#include "plpython.h"
#include "utils/memutils.h"
Go to the source code of this file.
Functions | |
static void | PLy_plan_dealloc (PyObject *arg) |
static PyObject * | PLy_plan_cursor (PyObject *self, PyObject *args) |
static PyObject * | PLy_plan_execute (PyObject *self, PyObject *args) |
static PyObject * | PLy_plan_status (PyObject *self, PyObject *args) |
void | PLy_plan_init_type (void) |
PyObject * | PLy_plan_new (void) |
bool | is_PLyPlanObject (PyObject *ob) |
Variables | |
static char | PLy_plan_doc [] = "Store a PostgreSQL plan" |
static PyMethodDef | PLy_plan_methods [] |
static PyTypeObject | PLy_PlanType |
bool is_PLyPlanObject | ( | PyObject * | ob | ) |
Definition at line 65 of file plpy_planobject.c.
References PLy_PlanType.
Referenced by PLy_spi_execute().
|
static |
Definition at line 90 of file plpy_planobject.c.
References generate_unaccent_rules::args, and PLy_cursor_plan().
|
static |
Definition at line 71 of file plpy_planobject.c.
References arg, PLyPlanObject::mcxt, MemoryContextDelete(), PLyPlanObject::plan, and SPI_freeplan().
|
static |
Definition at line 102 of file plpy_planobject.c.
References generate_unaccent_rules::args, sort-test::list, and PLy_spi_execute_plan().
void PLy_plan_init_type | ( | void | ) |
Definition at line 40 of file plpy_planobject.c.
References elog, ERROR, and PLy_PlanType.
Referenced by PLy_init_plpy().
PyObject* PLy_plan_new | ( | void | ) |
Definition at line 47 of file plpy_planobject.c.
References PLyPlanObject::args, PLyPlanObject::mcxt, PLyPlanObject::nargs, PLyPlanObject::plan, PLy_PlanType, PLyPlanObject::types, and PLyPlanObject::values.
Referenced by PLy_spi_prepare().
|
static |
Definition at line 20 of file plpy_planobject.c.
|
static |
Definition at line 22 of file plpy_planobject.c.
|
static |
Definition at line 29 of file plpy_planobject.c.
Referenced by is_PLyPlanObject(), PLy_plan_init_type(), and PLy_plan_new().