PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
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
c
d
f
h
i
n
o
p
r
s
t
~
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
sqltypes.h
Go to the documentation of this file.
1
#ifndef ECPG_SQLTYPES_H
2
#define ECPG_SQLTYPES_H
3
4
#include <limits.h>
5
6
#define CCHARTYPE ECPGt_char
7
#define CSHORTTYPE ECPGt_short
8
#define CINTTYPE ECPGt_int
9
#define CLONGTYPE ECPGt_long
10
#define CFLOATTYPE ECPGt_float
11
#define CDOUBLETYPE ECPGt_double
12
#define CDECIMALTYPE ECPGt_decimal
13
#define CFIXCHARTYPE 108
14
#define CSTRINGTYPE ECPGt_char
15
#define CDATETYPE ECPGt_date
16
#define CMONEYTYPE 111
17
#define CDTIMETYPE ECPGt_timestamp
18
#define CLOCATORTYPE 113
19
#define CVCHARTYPE ECPGt_varchar
20
#define CINVTYPE 115
21
#define CFILETYPE 116
22
#define CINT8TYPE ECPGt_long_long
23
#define CCOLLTYPE 118
24
#define CLVCHARTYPE 119
25
#define CFIXBINTYPE 120
26
#define CVARBINTYPE 121
27
#define CBOOLTYPE ECPGt_bool
28
#define CROWTYPE 123
29
#define CLVCHARPTRTYPE 124
30
#define CTYPEMAX 25
31
32
/*
33
* Values used in sqlda->sqlvar[i]->sqltype
34
*/
35
#define SQLCHAR ECPGt_char
36
#define SQLSMINT ECPGt_short
37
#define SQLINT ECPGt_int
38
#define SQLFLOAT ECPGt_double
39
#define SQLSMFLOAT ECPGt_float
40
#define SQLDECIMAL ECPGt_decimal
41
#define SQLSERIAL ECPGt_int
42
#define SQLDATE ECPGt_date
43
#define SQLDTIME ECPGt_timestamp
44
#define SQLTEXT ECPGt_char
45
#define SQLVCHAR ECPGt_char
46
#define SQLINTERVAL ECPGt_interval
47
#define SQLNCHAR ECPGt_char
48
#define SQLNVCHAR ECPGt_char
49
#if SIZEOF_LONG == 8
50
#define SQLINT8 ECPGt_long
51
#define SQLSERIAL8 ECPGt_long
52
#elif SIZEOF_LONG_LONG == 8
53
#define SQLINT8 ECPGt_long_long
54
#define SQLSERIAL8 ECPGt_long_long
55
#else
56
#error "cannot find integer type of the same size as SQLINT8"
57
#endif
58
59
#endif
/* ndef ECPG_SQLTYPES_H */
src
interfaces
ecpg
include
sqltypes.h
Generated on Thu May 1 2025 06:13:26 for PostgreSQL Source Code by
1.9.4