Исходный код СУБД RuDB — свободной СУБД с открытым исходным кодом на базе PostgreSQL
rudb
2 days ago bd039d1e92813358c5c5a1e346b49074baf513f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * 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;
    PLyObToDatum *args;
    MemoryContext mcxt;
} PLyPlanObject;
 
extern void PLy_plan_init_type(void);
extern PyObject *PLy_plan_new(void);
extern bool is_PLyPlanObject(PyObject *ob);
 
#endif                          /* PLPY_PLANOBJECT_H */