pg_async
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
tip
db
pg
pg_types.hpp
Go to the documentation of this file.
1
/*
2
* pg_types.hpp
3
*
4
* Created on: Jul 24, 2015
5
* Author: zmij
6
*/
7
8
#ifndef LIB_PG_ASYNC_INCLUDE_TIP_DB_PG_PG_TYPES_HPP_
9
#define LIB_PG_ASYNC_INCLUDE_TIP_DB_PG_PG_TYPES_HPP_
10
11
#include <iosfwd>
12
13
namespace
tip {
14
namespace
db {
15
namespace
pg {
16
17
namespace
oids {
18
19
namespace
type {
20
enum
oid_type
{
21
boolean
= 16,
22
bytea
= 17,
23
char_
= 18,
24
name
= 19,
25
int8
= 20,
26
int2
= 21,
27
int2_vector
= 22,
28
int4
= 23,
29
regproc
= 24,
30
text
= 25,
31
oid
= 26,
32
tid
= 27,
33
xid
= 28,
34
cid
= 29,
35
oid_vector
= 30,
36
json
= 114,
37
xml
= 142,
38
pg_node_tree
= 194,
39
pg_ddl_command
= 32,
40
point
= 600,
41
lseg
= 601,
42
path
= 602,
43
box
= 603,
44
polygon
= 604,
45
line
= 628,
46
float4
= 700,
47
float8
= 701,
48
abstime
= 702,
49
reltime
= 703,
50
tinterval
= 704,
51
unknown
= 705,
52
circle
= 718,
53
cash
= 790,
54
macaddr
= 829,
55
inet
= 869,
56
cidr
= 650,
57
int2_array
= 1005,
58
int4_array
= 1007,
59
text_array
= 1009,
60
oid_array
= 1028,
61
float4_array
= 1021,
62
acl_item
= 1033,
63
cstring_array
= 1263,
64
bpchar
= 1042,
65
varchar
= 1043,
66
date
= 1082,
67
time
= 1083,
68
timestamp
= 1114,
69
timestamptz
= 1184,
70
interval
= 1186,
71
timetz
= 1266,
72
bit
= 1560,
73
varbit
= 1562,
74
numeric
= 1700,
75
refcursor
= 1790,
76
regprocedure
= 2202,
77
regoper
= 2203,
78
regoperator
= 2204,
79
regclass
= 2205,
80
regtype
= 2206,
81
regrole
= 4096,
82
regtypearray
= 2211,
83
uuid
= 2950,
84
lsn
= 3220,
85
tsvector
= 3614,
86
gtsvector
= 3642,
87
tsquery
= 3615,
88
regconfig
= 3734,
89
regdictionary
= 3769,
90
jsonb
= 3802,
91
int4_range
= 3904,
92
record
= 2249,
93
record_array
= 2287,
94
cstring
= 2275,
95
any
= 2276,
96
any_array
= 2277,
97
void_
= 2278,
98
trigger
= 2279,
99
evttrigger
= 3838,
100
language_handler
= 2280,
101
internal
= 2281,
102
opaque
= 2282,
103
any_element
= 2283,
104
any_non_array
= 2776,
105
any_enum
= 3500,
106
fdw_handler
= 3115,
107
any_range
= 3831
108
};
109
110
std::ostream&
111
operator <<
(std::ostream& out,
oid_type
val);
112
std::istream&
113
operator >>
(std::ostream& in,
oid_type
& val);
114
115
116
}
// namespace type
117
namespace
type_class {
118
enum
code
{
119
base
=
'b'
,
120
composite
=
'c'
,
121
domain
=
'd'
,
122
enumerated
=
'e'
,
123
pseudo
=
'p'
,
124
range
=
'r'
125
};
126
}
// namespace type_class
127
namespace
type_category {
128
enum
code
{
129
invalid
= 0,
130
array
=
'A'
,
131
boolean
=
'B'
,
132
composite
=
'C'
,
133
datetime
=
'D'
,
134
enumeration
=
'E'
,
135
geometric
=
'G'
,
136
network
=
'I'
,
137
numeric
=
'N'
,
138
pseudotype
=
'P'
,
139
range_category
=
'R'
,
140
string
=
'S'
,
141
timespan
=
'T'
,
142
user
=
'U'
,
143
bitstring
=
'V'
,
144
unknown
=
'X'
145
};
146
}
// type_category
147
148
}
// namespace oids
149
150
}
// namespace pg
151
}
// namespace db
152
}
// namespace tip
153
154
155
#endif
/* LIB_PG_ASYNC_INCLUDE_TIP_DB_PG_PG_TYPES_HPP_ */
tip::db::pg::oids::type::char_
Definition:
pg_types.hpp:23
tip::db::pg::oids::type::varchar
Definition:
pg_types.hpp:65
tip::db::pg::oids::type::trigger
Definition:
pg_types.hpp:98
tip::db::pg::oids::type_category::datetime
Definition:
pg_types.hpp:133
tip::db::pg::oids::type::bpchar
Definition:
pg_types.hpp:64
tip::db::pg::oids::type::regtypearray
Definition:
pg_types.hpp:82
tip::db::pg::oids::type::cidr
Definition:
pg_types.hpp:56
tip::db::pg::oids::type::refcursor
Definition:
pg_types.hpp:75
tip::db::pg::oids::type::float4
Definition:
pg_types.hpp:46
tip::db::pg::oids::type::unknown
Definition:
pg_types.hpp:51
tip::db::pg::oids::type_class::composite
Definition:
pg_types.hpp:120
tip::db::pg::oids::type::abstime
Definition:
pg_types.hpp:48
tip::db::pg::oids::type::int2_array
Definition:
pg_types.hpp:57
tip::db::pg::oids::type::cstring_array
Definition:
pg_types.hpp:63
tip::db::pg::oids::type::regrole
Definition:
pg_types.hpp:81
tip::db::pg::oids::type::tinterval
Definition:
pg_types.hpp:50
tip::db::pg::oids::type_category::user
Definition:
pg_types.hpp:142
tip::db::pg::oids::type::float8
Definition:
pg_types.hpp:47
tip::db::pg::oids::type::text_array
Definition:
pg_types.hpp:59
tip::db::pg::oids::type::json
Definition:
pg_types.hpp:36
tip::db::pg::oids::type::any_element
Definition:
pg_types.hpp:103
tip::db::pg::oids::type::timestamptz
Definition:
pg_types.hpp:69
tip::db::pg::oids::type::timestamp
Definition:
pg_types.hpp:68
tip::db::pg::oids::type::point
Definition:
pg_types.hpp:40
tip::db::pg::oids::type::regconfig
Definition:
pg_types.hpp:88
tip::db::pg::oids::type::reltime
Definition:
pg_types.hpp:49
tip::db::pg::oids::type::tid
Definition:
pg_types.hpp:32
tip::db::pg::oids::type_class::pseudo
Definition:
pg_types.hpp:123
tip::db::pg::oids::type::macaddr
Definition:
pg_types.hpp:54
tip::db::pg::oids::type_category::range_category
Definition:
pg_types.hpp:139
tip::db::pg::oids::type::cash
Definition:
pg_types.hpp:53
tip::db::pg::oids::type::any
Definition:
pg_types.hpp:95
tip::db::pg::oids::type::numeric
Definition:
pg_types.hpp:74
tip::db::pg::oids::type::xml
Definition:
pg_types.hpp:37
tip::db::pg::oids::type_class::range
Definition:
pg_types.hpp:124
tip::db::pg::oids::type::tsquery
Definition:
pg_types.hpp:87
tip::db::pg::oids::type::regclass
Definition:
pg_types.hpp:79
tip::db::pg::oids::type::tsvector
Definition:
pg_types.hpp:85
tip::db::pg::oids::type_category::bitstring
Definition:
pg_types.hpp:143
tip::db::pg::oids::type_class::domain
Definition:
pg_types.hpp:121
tip::db::pg::oids::type::record_array
Definition:
pg_types.hpp:93
tip::db::pg::oids::type::opaque
Definition:
pg_types.hpp:102
tip::db::pg::oids::type_category::code
code
Definition:
pg_types.hpp:128
tip::db::pg::oids::type::circle
Definition:
pg_types.hpp:52
tip::db::pg::oids::type_category::enumeration
Definition:
pg_types.hpp:134
tip::db::pg::oids::type::bit
Definition:
pg_types.hpp:72
tip::db::pg::oids::type::regoper
Definition:
pg_types.hpp:77
tip::db::pg::oids::type_category::timespan
Definition:
pg_types.hpp:141
tip::db::pg::oids::type::float4_array
Definition:
pg_types.hpp:61
tip::db::pg::oids::type::oid_type
oid_type
Definition:
pg_types.hpp:20
tip::db::pg::oids::type_category::pseudotype
Definition:
pg_types.hpp:138
tip::db::pg::oids::type::line
Definition:
pg_types.hpp:45
tip::db::pg::oids::type_class::code
code
Definition:
pg_types.hpp:118
tip::db::pg::oids::type::any_array
Definition:
pg_types.hpp:96
tip::db::pg::oids::type::int2
Definition:
pg_types.hpp:26
tip::db::pg::oids::type::varbit
Definition:
pg_types.hpp:73
tip::db::pg::oids::type::any_range
Definition:
pg_types.hpp:107
tip::db::pg::oids::type::gtsvector
Definition:
pg_types.hpp:86
tip::db::pg::oids::type::time
Definition:
pg_types.hpp:67
tip::db::pg::oids::type::int2_vector
Definition:
pg_types.hpp:27
tip::db::pg::oids::type::regprocedure
Definition:
pg_types.hpp:76
tip::db::pg::oids::type_class::base
Definition:
pg_types.hpp:119
tip::db::pg::oids::type_category::numeric
Definition:
pg_types.hpp:137
tip::db::pg::oids::type_category::unknown
Definition:
pg_types.hpp:144
tip::db::pg::oids::type::uuid
Definition:
pg_types.hpp:83
tip::db::pg::oids::type::pg_ddl_command
Definition:
pg_types.hpp:39
tip::db::pg::oids::type::name
Definition:
pg_types.hpp:24
tip::db::pg::oids::type::path
Definition:
pg_types.hpp:42
tip::db::pg::oids::type::record
Definition:
pg_types.hpp:92
tip::db::pg::oids::type::xid
Definition:
pg_types.hpp:33
tip::db::pg::oids::type::int4_array
Definition:
pg_types.hpp:58
tip::db::pg::oids::type_category::composite
Definition:
pg_types.hpp:132
tip::db::pg::oids::type::text
Definition:
pg_types.hpp:30
tip::db::pg::oids::type_class::enumerated
Definition:
pg_types.hpp:122
tip::db::pg::oids::type::lsn
Definition:
pg_types.hpp:84
tip::db::pg::oids::type::regdictionary
Definition:
pg_types.hpp:89
tip::db::pg::oids::type::date
Definition:
pg_types.hpp:66
tip::db::pg::oids::type::fdw_handler
Definition:
pg_types.hpp:106
tip::db::pg::oids::type::any_enum
Definition:
pg_types.hpp:105
tip::db::pg::oids::type::oid_array
Definition:
pg_types.hpp:60
tip::db::pg::oids::type_category::network
Definition:
pg_types.hpp:136
tip::db::pg::bytea
Binary data, matches PostgreSQL bytea type.
Definition:
common.hpp:196
tip::db::pg::oids::type::regtype
Definition:
pg_types.hpp:80
tip::db::pg::oids::type::any_non_array
Definition:
pg_types.hpp:104
tip::db::pg::oids::type::pg_node_tree
Definition:
pg_types.hpp:38
tip::db::pg::oids::type::jsonb
Definition:
pg_types.hpp:90
tip::db::pg::oids::type::int8
Definition:
pg_types.hpp:25
tip::db::pg::oids::type::operator<<
std::ostream & operator<<(std::ostream &out, oid_type val)
tip::db::pg::oids::type::oid_vector
Definition:
pg_types.hpp:35
tip::db::pg::oids::type::language_handler
Definition:
pg_types.hpp:100
tip::db::pg::oids::type::polygon
Definition:
pg_types.hpp:44
tip::db::pg::oids::type::acl_item
Definition:
pg_types.hpp:62
tip::db::pg::oids::type::oid
Definition:
pg_types.hpp:31
tip::db::pg::oids::type_category::invalid
Definition:
pg_types.hpp:129
tip::db::pg::oids::type_category::array
Definition:
pg_types.hpp:130
tip::db::pg::oids::type::interval
Definition:
pg_types.hpp:70
tip::db::pg::oids::type::timetz
Definition:
pg_types.hpp:71
tip::db::pg::oids::type::void_
Definition:
pg_types.hpp:97
tip::db::pg::oids::type::operator>>
std::istream & operator>>(std::ostream &in, oid_type &val)
tip::db::pg::oids::type::cid
Definition:
pg_types.hpp:34
tip::db::pg::oids::type::inet
Definition:
pg_types.hpp:55
tip::db::pg::oids::type::regoperator
Definition:
pg_types.hpp:78
tip::db::pg::oids::type::cstring
Definition:
pg_types.hpp:94
tip::db::pg::oids::type::int4_range
Definition:
pg_types.hpp:91
tip::db::pg::oids::type_category::geometric
Definition:
pg_types.hpp:135
tip::db::pg::oids::type::int4
Definition:
pg_types.hpp:28
tip::db::pg::oids::type::lseg
Definition:
pg_types.hpp:41
tip::db::pg::oids::type::box
Definition:
pg_types.hpp:43
tip::db::pg::oids::type::evttrigger
Definition:
pg_types.hpp:99
tip::db::pg::oids::type::regproc
Definition:
pg_types.hpp:29
Generated on Mon Aug 3 2015 21:35:41 for pg_async by
1.8.6