PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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_HEAD char * portalname
void PLy_cursor_init_type(void)
MemoryContext mcxt
PyObject * PLy_cursor_plan(PyObject *ob, PyObject *args)
struct PLyCursorObject PLyCursorObject
PyObject * PLy_cursor(PyObject *self, PyObject *args)
PLyTypeInfo result