PostgreSQL Source Code  git master
plpy_planobject.h
Go to the documentation of this file.
1 /*
2  * src/pl/plpython/plpy_planobject.h
3  */
4 
5 #ifndef PLPY_PLANOBJECT_H
6 #define PLPY_PLANOBJECT_H
7 
8 #include "executor/spi.h"
9 #include "plpy_typeio.h"
10 
11 
12 typedef struct PLyPlanObject
13 {
14  PyObject_HEAD
16  int nargs;
22 
23 extern void PLy_plan_init_type(void);
24 extern PyObject *PLy_plan_new(void);
25 extern bool is_PLyPlanObject(PyObject *ob);
26 
27 #endif /* PLPY_PLANOBJECT_H */
struct PLyPlanObject PLyPlanObject
PyObject * PLy_plan_new(void)
void PLy_plan_init_type(void)
bool is_PLyPlanObject(PyObject *ob)
uintptr_t Datum
Definition: postgres.h:64
unsigned int Oid
Definition: postgres_ext.h:31
PyObject_HEAD SPIPlanPtr plan
MemoryContext mcxt
PLyObToDatum * args