Go to the source code of this file.
◆ PLy_result_ass_subscript()
static int PLy_result_ass_subscript |
( |
PyObject * |
arg, |
|
|
PyObject * |
item, |
|
|
PyObject * |
value |
|
) |
| |
|
static |
◆ PLy_result_colnames()
static PyObject * PLy_result_colnames |
( |
PyObject * |
self, |
|
|
PyObject * |
unused |
|
) |
| |
|
static |
Definition at line 109 of file plpy_resultobject.c.
FormData_pg_attribute * Form_pg_attribute
void PLy_exception_set(PyObject *exc, const char *fmt,...)
PyObject * PLyUnicode_FromString(const char *s)
#define TupleDescAttr(tupdesc, i)
References i, sort-test::list, NameStr, TupleDescData::natts, PLy_exc_error, PLy_exception_set(), PLyUnicode_FromString(), PLyResultObject::tupdesc, and TupleDescAttr.
◆ PLy_result_coltypes()
static PyObject * PLy_result_coltypes |
( |
PyObject * |
self, |
|
|
PyObject * |
unused |
|
) |
| |
|
static |
◆ PLy_result_coltypmods()
static PyObject * PLy_result_coltypmods |
( |
PyObject * |
self, |
|
|
PyObject * |
unused |
|
) |
| |
|
static |
◆ PLy_result_dealloc()
static void PLy_result_dealloc |
( |
PyObject * |
arg | ) |
|
|
static |
◆ PLy_result_init_type()
void PLy_result_init_type |
( |
void |
| ) |
|
◆ PLy_result_item()
static PyObject * PLy_result_item |
( |
PyObject * |
arg, |
|
|
Py_ssize_t |
idx |
|
) |
| |
|
static |
◆ PLy_result_length()
static Py_ssize_t PLy_result_length |
( |
PyObject * |
arg | ) |
|
|
static |
◆ PLy_result_new()
PyObject* PLy_result_new |
( |
void |
| ) |
|
◆ PLy_result_nrows()
static PyObject * PLy_result_nrows |
( |
PyObject * |
self, |
|
|
PyObject * |
args |
|
) |
| |
|
static |
◆ PLy_result_status()
static PyObject * PLy_result_status |
( |
PyObject * |
self, |
|
|
PyObject * |
args |
|
) |
| |
|
static |
◆ PLy_result_str()
static PyObject * PLy_result_str |
( |
PyObject * |
arg | ) |
|
|
static |
◆ PLy_result_subscript()
static PyObject * PLy_result_subscript |
( |
PyObject * |
arg, |
|
|
PyObject * |
item |
|
) |
| |
|
static |
◆ PLy_result_as_mapping
PyMappingMethods PLy_result_as_mapping |
|
static |
Initial value:= {
}
static PyObject * PLy_result_subscript(PyObject *arg, PyObject *item)
static Py_ssize_t PLy_result_length(PyObject *arg)
static int PLy_result_ass_subscript(PyObject *arg, PyObject *item, PyObject *value)
Definition at line 32 of file plpy_resultobject.c.
◆ PLy_result_as_sequence
PySequenceMethods PLy_result_as_sequence |
|
static |
Initial value:= {
}
static PyObject * PLy_result_item(PyObject *arg, Py_ssize_t idx)
Definition at line 27 of file plpy_resultobject.c.
◆ PLy_result_doc
char PLy_result_doc[] = "Results of a PostgreSQL query" |
|
static |
◆ PLy_result_methods
PyMethodDef PLy_result_methods[] |
|
static |
Initial value:= {
{NULL, NULL, 0, NULL}
}
static PyObject * PLy_result_nrows(PyObject *self, PyObject *args)
static PyObject * PLy_result_coltypmods(PyObject *self, PyObject *unused)
static PyObject * PLy_result_status(PyObject *self, PyObject *args)
static PyObject * PLy_result_coltypes(PyObject *self, PyObject *unused)
static PyObject * PLy_result_colnames(PyObject *self, PyObject *unused)
Definition at line 38 of file plpy_resultobject.c.
◆ PLy_ResultType
PyTypeObject PLy_ResultType |
|
static |
Initial value:= {
PyVarObject_HEAD_INIT(NULL, 0)
.tp_name = "PLyResult",
.tp_flags = Py_TPFLAGS_DEFAULT | Py_TPFLAGS_BASETYPE,
}
static PyObject * PLy_result_str(PyObject *arg)
static void PLy_result_dealloc(PyObject *arg)
static char PLy_result_doc[]
static PyMappingMethods PLy_result_as_mapping
static PySequenceMethods PLy_result_as_sequence
static PyMethodDef PLy_result_methods[]
struct PLyResultObject PLyResultObject
Definition at line 47 of file plpy_resultobject.c.
Referenced by PLy_result_init_type(), and PLy_result_new().