1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-05 02:22:28 +03:00
Files
postgres/src/pl/plpython/plpy_cursorobject.h
2012-06-10 15:20:04 -04:00

23 lines
394 B
C

/*
* src/pl/plpython/plpy_cursorobject.h
*/
#ifndef PLPY_CURSOROBJECT_H
#define PLPY_CURSOROBJECT_H
#include "plpy_typeio.h"
typedef struct PLyCursorObject
{
PyObject_HEAD
char *portalname;
PLyTypeInfo result;
bool closed;
} PLyCursorObject;
extern void PLy_cursor_init_type(void);
extern PyObject *PLy_cursor(PyObject *self, PyObject *args);
#endif /* PLPY_CURSOROBJECT_H */