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
15
SPIPlanPtr
plan
;
16
int
nargs
;
17
Oid
*
types
;
18
Datum
*
values
;
19
PLyObToDatum
*
args
;
20
MemoryContext
mcxt
;
21
}
PLyPlanObject
;
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 */
PLyPlanObject
struct PLyPlanObject PLyPlanObject
PLy_plan_new
PyObject * PLy_plan_new(void)
Definition:
plpy_planobject.c:47
PLy_plan_init_type
void PLy_plan_init_type(void)
Definition:
plpy_planobject.c:40
is_PLyPlanObject
bool is_PLyPlanObject(PyObject *ob)
Definition:
plpy_planobject.c:65
plpy_typeio.h
Datum
uintptr_t Datum
Definition:
postgres.h:64
Oid
unsigned int Oid
Definition:
postgres_ext.h:31
spi.h
MemoryContextData
Definition:
memnodes.h:118
PLyObToDatum
Definition:
plpy_typeio.h:131
PLyPlanObject
Definition:
plpy_planobject.h:13
PLyPlanObject::plan
PyObject_HEAD SPIPlanPtr plan
Definition:
plpy_planobject.h:15
PLyPlanObject::values
Datum * values
Definition:
plpy_planobject.h:18
PLyPlanObject::types
Oid * types
Definition:
plpy_planobject.h:17
PLyPlanObject::mcxt
MemoryContext mcxt
Definition:
plpy_planobject.h:20
PLyPlanObject::nargs
int nargs
Definition:
plpy_planobject.h:16
PLyPlanObject::args
PLyObToDatum * args
Definition:
plpy_planobject.h:19
_SPI_plan
Definition:
spi_priv.h:91
src
pl
plpython
plpy_planobject.h
Generated on Fri Dec 6 2024 12:13:26 for PostgreSQL Source Code by
1.9.1