PostgreSQL Source Code git master
|
Go to the source code of this file.
Functions | |
static void | PLy_result_dealloc (PLyResultObject *self) |
static PyObject * | PLy_result_colnames (PyObject *self, PyObject *unused) |
static PyObject * | PLy_result_coltypes (PyObject *self, PyObject *unused) |
static PyObject * | PLy_result_coltypmods (PyObject *self, PyObject *unused) |
static PyObject * | PLy_result_nrows (PyObject *self, PyObject *args) |
static PyObject * | PLy_result_status (PyObject *self, PyObject *args) |
static Py_ssize_t | PLy_result_length (PyObject *arg) |
static PyObject * | PLy_result_item (PyObject *arg, Py_ssize_t idx) |
static PyObject * | PLy_result_str (PyObject *arg) |
static PyObject * | PLy_result_subscript (PyObject *arg, PyObject *item) |
static int | PLy_result_ass_subscript (PyObject *arg, PyObject *item, PyObject *value) |
void | PLy_result_init_type (void) |
PyObject * | PLy_result_new (void) |
Variables | |
static char | PLy_result_doc [] = "Results of a PostgreSQL query" |
static PyMethodDef | PLy_result_methods [] |
static PyType_Slot | PLyResult_slots [] |
static PyType_Spec | PLyResult_spec |
static PyTypeObject * | PLy_ResultType |
|
static |
Definition at line 276 of file plpy_resultobject.c.
References arg, PLyResultObject::rows, and value.
|
static |
Definition at line 140 of file plpy_resultobject.c.
References i, sort-test::list, NameStr, TupleDescData::natts, PLy_exc_error, PLy_exception_set(), PLyUnicode_FromString(), PLyResultObject::tupdesc, and TupleDescAttr().
|
static |
Definition at line 166 of file plpy_resultobject.c.
References i, sort-test::list, TupleDescData::natts, PLy_exc_error, PLy_exception_set(), PLyResultObject::tupdesc, and TupleDescAttr().
|
static |
Definition at line 192 of file plpy_resultobject.c.
References i, sort-test::list, TupleDescData::natts, PLy_exc_error, PLy_exception_set(), PLyResultObject::tupdesc, and TupleDescAttr().
|
static |
Definition at line 117 of file plpy_resultobject.c.
References FreeTupleDesc(), PLyResultObject::nrows, PLyResultObject::rows, PLyResultObject::status, and PLyResultObject::tupdesc.
void PLy_result_init_type | ( | void | ) |
Definition at line 81 of file plpy_resultobject.c.
References elog, ERROR, PLy_ResultType, and PLyResult_spec.
Referenced by PLy_init_plpy().
|
static |
Definition at line 244 of file plpy_resultobject.c.
References arg, idx(), and PLyResultObject::rows.
|
static |
Definition at line 236 of file plpy_resultobject.c.
References arg, and PLyResultObject::rows.
PyObject * PLy_result_new | ( | void | ) |
Definition at line 89 of file plpy_resultobject.c.
References PLyResultObject::nrows, PLy_ResultType, PLyResultObject::rows, PLyResultObject::status, and PLyResultObject::tupdesc.
Referenced by PLy_cursor_fetch(), and PLy_spi_execute_fetch_result().
|
static |
Definition at line 218 of file plpy_resultobject.c.
References PLyResultObject::nrows.
|
static |
Definition at line 227 of file plpy_resultobject.c.
References PLyResultObject::status.
|
static |
Definition at line 256 of file plpy_resultobject.c.
References arg, PLyResultObject::nrows, PLyResultObject::rows, and PLyResultObject::status.
|
static |
Definition at line 268 of file plpy_resultobject.c.
References arg, and PLyResultObject::rows.
|
static |
Definition at line 25 of file plpy_resultobject.c.
|
static |
Definition at line 27 of file plpy_resultobject.c.
|
static |
Definition at line 78 of file plpy_resultobject.c.
Referenced by PLy_result_init_type(), and PLy_result_new().
|
static |
Definition at line 36 of file plpy_resultobject.c.
|
static |
Definition at line 70 of file plpy_resultobject.c.
Referenced by PLy_result_init_type().