PostgreSQL Source Code
git master
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
f
h
i
n
o
p
r
s
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
plpy_resultobject.h
Go to the documentation of this file.
1
/*
2
* src/pl/plpython/plpy_resultobject.h
3
*/
4
5
#ifndef PLPY_RESULTOBJECT_H
6
#define PLPY_RESULTOBJECT_H
7
8
#include "
access/tupdesc.h
"
9
10
#include "
plpython.h
"
11
12
13
typedef
struct
PLyResultObject
14
{
15
PyObject_HEAD
16
/* HeapTuple *tuples; */
17
PyObject *
nrows
;
/* number of rows returned by query */
18
PyObject *
rows
;
/* data rows, or empty list if no data
19
* returned */
20
PyObject *
status
;
/* query status, SPI_OK_*, or SPI_ERR_* */
21
TupleDesc
tupdesc
;
22
}
PLyResultObject
;
23
24
extern
void
PLy_result_init_type
(
void
);
25
extern
PyObject *
PLy_result_new
(
void
);
26
27
#endif
/* PLPY_RESULTOBJECT_H */
PLy_result_new
PyObject * PLy_result_new(void)
Definition:
plpy_resultobject.c:68
PLy_result_init_type
void PLy_result_init_type(void)
Definition:
plpy_resultobject.c:61
PLyResultObject
struct PLyResultObject PLyResultObject
plpython.h
PLyResultObject
Definition:
plpy_resultobject.h:14
PLyResultObject::tupdesc
TupleDesc tupdesc
Definition:
plpy_resultobject.h:21
PLyResultObject::nrows
PyObject_HEAD PyObject * nrows
Definition:
plpy_resultobject.h:17
PLyResultObject::status
PyObject * status
Definition:
plpy_resultobject.h:20
PLyResultObject::rows
PyObject * rows
Definition:
plpy_resultobject.h:18
TupleDescData
Definition:
tupdesc.h:80
tupdesc.h
src
pl
plpython
plpy_resultobject.h
Generated on Tue Dec 3 2024 00:13:26 for PostgreSQL Source Code by
1.9.1