Header And Logo

PostgreSQL
| The world's most advanced open source database.

plpy_cursorobject.h

Go to the documentation of this file.
00001 /*
00002  * src/pl/plpython/plpy_cursorobject.h
00003  */
00004 
00005 #ifndef PLPY_CURSOROBJECT_H
00006 #define PLPY_CURSOROBJECT_H
00007 
00008 #include "plpy_typeio.h"
00009 
00010 
00011 typedef struct PLyCursorObject
00012 {
00013     PyObject_HEAD
00014     char       *portalname;
00015     PLyTypeInfo result;
00016     bool        closed;
00017 } PLyCursorObject;
00018 
00019 extern void PLy_cursor_init_type(void);
00020 extern PyObject *PLy_cursor(PyObject *self, PyObject *args);
00021 
00022 #endif   /* PLPY_CURSOROBJECT_H */