PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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 */
bool is_PLyPlanObject(PyObject *ob)
unsigned int Oid
Definition: postgres_ext.h:31
PLyTypeInfo * args
PyObject_HEAD SPIPlanPtr plan
PyObject * PLy_plan_new(void)
MemoryContext mcxt
uintptr_t Datum
Definition: postgres.h:374
struct PLyPlanObject PLyPlanObject
void PLy_plan_init_type(void)