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_planobject.h
2012-06-10 15:20:04 -04:00

27 lines
456 B
C

/*
* src/pl/plpython/plpy_planobject.h
*/
#ifndef PLPY_PLANOBJECT_H
#define PLPY_PLANOBJECT_H
#include "executor/spi.h"
#include "plpy_typeio.h"
typedef struct PLyPlanObject
{
PyObject_HEAD
SPIPlanPtr plan;
int nargs;
Oid *types;
Datum *values;
PLyTypeInfo *args;
} PLyPlanObject;
extern void PLy_plan_init_type(void);
extern PyObject *PLy_plan_new(void);
extern bool is_PLyPlanObject(PyObject *ob);
#endif /* PLPY_PLANOBJECT_H */