PostgreSQL Source Code  git master
plpy_cursorobject.h
Go to the documentation of this file.
1 /*
2  * src/pl/plpython/plpy_cursorobject.h
3  */
4 
5 #ifndef PLPY_CURSOROBJECT_H
6 #define PLPY_CURSOROBJECT_H
7 
8 #include "plpy_typeio.h"
9 
10 
11 typedef struct PLyCursorObject
12 {
13  PyObject_HEAD
14  char *portalname;
16  bool closed;
19 
20 extern void PLy_cursor_init_type(void);
21 extern PyObject *PLy_cursor(PyObject *self, PyObject *args);
22 extern PyObject *PLy_cursor_plan(PyObject *ob, PyObject *args);
23 
24 #endif /* PLPY_CURSOROBJECT_H */
PyObject * PLy_cursor(PyObject *self, PyObject *args)
PyObject * PLy_cursor_plan(PyObject *ob, PyObject *args)
void PLy_cursor_init_type(void)
struct PLyCursorObject PLyCursorObject
MemoryContext mcxt
PyObject_HEAD char * portalname
PLyDatumToOb result