HEX
Server: Apache
System: Linux p102.lithium.hosting 4.18.0-553.141.1.el8_10.x86_64 #1 SMP Fri Jul 10 17:48:02 UTC 2026 x86_64
User: bvzmoamr (9955)
PHP: 8.1.34
Disabled: syslog
Upload Files
File: //proc/2078924/root/usr/pgsql-15/include/server/plpy_cursorobject.h
/*
 * 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;
	PLyDatumToOb result;
	bool		closed;
	MemoryContext mcxt;
} PLyCursorObject;

extern void PLy_cursor_init_type(void);
extern PyObject *PLy_cursor(PyObject *self, PyObject *args);
extern PyObject *PLy_cursor_plan(PyObject *ob, PyObject *args);

#endif							/* PLPY_CURSOROBJECT_H */