source: trunk/pgtypes.h

Last change on this file was 981, checked in by cito, 7 months ago

PEP 7: Use 4-space indents and no tabs at all

File size: 4.5 KB
Line 
1/*
2    pgtypes - PostgreSQL type definitions
3
4    These are the standard PostgreSQL 11.1 built-in types,
5    extracted from src/backend/catalog/pg_type_d.h,
6    because that header file is sometimes not available
7    or needs other header files to get properly included.
8    You can also query pg_type to get this information.
9*/
10
11#ifndef PG_TYPE_D_H
12
13#define BOOLOID 16
14#define BYTEAOID 17
15#define CHAROID 18
16#define NAMEOID 19
17#define INT8OID 20
18#define INT2OID 21
19#define INT2VECTOROID 22
20#define INT4OID 23
21#define REGPROCOID 24
22#define TEXTOID 25
23#define OIDOID 26
24#define TIDOID 27
25#define XIDOID 28
26#define CIDOID 29
27#define OIDVECTOROID 30
28#define JSONOID 114
29#define XMLOID 142
30#define XMLARRAYOID 143
31#define JSONARRAYOID 199
32#define PGNODETREEOID 194
33#define PGNDISTINCTOID 3361
34#define PGDEPENDENCIESOID 3402
35#define PGDDLCOMMANDOID 32
36#define SMGROID 210
37#define POINTOID 600
38#define LSEGOID 601
39#define PATHOID 602
40#define BOXOID 603
41#define POLYGONOID 604
42#define LINEOID 628
43#define LINEARRAYOID 629
44#define FLOAT4OID 700
45#define FLOAT8OID 701
46#define ABSTIMEOID 702
47#define RELTIMEOID 703
48#define TINTERVALOID 704
49#define UNKNOWNOID 705
50#define CIRCLEOID 718
51#define CIRCLEARRAYOID 719
52#define CASHOID 790
53#define MONEYARRAYOID 791
54#define MACADDROID 829
55#define INETOID 869
56#define CIDROID 650
57#define MACADDR8OID 774
58#define BOOLARRAYOID 1000
59#define BYTEAARRAYOID 1001
60#define CHARARRAYOID 1002
61#define NAMEARRAYOID 1003
62#define INT2ARRAYOID 1005
63#define INT2VECTORARRAYOID 1006
64#define INT4ARRAYOID 1007
65#define REGPROCARRAYOID 1008
66#define TEXTARRAYOID 1009
67#define OIDARRAYOID 1028
68#define TIDARRAYOID 1010
69#define XIDARRAYOID 1011
70#define CIDARRAYOID 1012
71#define OIDVECTORARRAYOID 1013
72#define BPCHARARRAYOID 1014
73#define VARCHARARRAYOID 1015
74#define INT8ARRAYOID 1016
75#define POINTARRAYOID 1017
76#define LSEGARRAYOID 1018
77#define PATHARRAYOID 1019
78#define BOXARRAYOID 1020
79#define FLOAT4ARRAYOID 1021
80#define FLOAT8ARRAYOID 1022
81#define ABSTIMEARRAYOID 1023
82#define RELTIMEARRAYOID 1024
83#define TINTERVALARRAYOID 1025
84#define POLYGONARRAYOID 1027
85#define ACLITEMOID 1033
86#define ACLITEMARRAYOID 1034
87#define MACADDRARRAYOID 1040
88#define MACADDR8ARRAYOID 775
89#define INETARRAYOID 1041
90#define CIDRARRAYOID 651
91#define CSTRINGARRAYOID 1263
92#define BPCHAROID 1042
93#define VARCHAROID 1043
94#define DATEOID 1082
95#define TIMEOID 1083
96#define TIMESTAMPOID 1114
97#define TIMESTAMPARRAYOID 1115
98#define DATEARRAYOID 1182
99#define TIMEARRAYOID 1183
100#define TIMESTAMPTZOID 1184
101#define TIMESTAMPTZARRAYOID 1185
102#define INTERVALOID 1186
103#define INTERVALARRAYOID 1187
104#define NUMERICARRAYOID 1231
105#define TIMETZOID 1266
106#define TIMETZARRAYOID 1270
107#define BITOID 1560
108#define BITARRAYOID 1561
109#define VARBITOID 1562
110#define VARBITARRAYOID 1563
111#define NUMERICOID 1700
112#define REFCURSOROID 1790
113#define REFCURSORARRAYOID 2201
114#define REGPROCEDUREOID 2202
115#define REGOPEROID 2203
116#define REGOPERATOROID 2204
117#define REGCLASSOID 2205
118#define REGTYPEOID 2206
119#define REGROLEOID 4096
120#define REGNAMESPACEOID 4089
121#define REGPROCEDUREARRAYOID 2207
122#define REGOPERARRAYOID 2208
123#define REGOPERATORARRAYOID 2209
124#define REGCLASSARRAYOID 2210
125#define REGTYPEARRAYOID 2211
126#define REGROLEARRAYOID 4097
127#define REGNAMESPACEARRAYOID 4090
128#define UUIDOID 2950
129#define UUIDARRAYOID 2951
130#define LSNOID 3220
131#define PG_LSNARRAYOID 3221
132#define TSVECTOROID 3614
133#define GTSVECTOROID 3642
134#define TSQUERYOID 3615
135#define REGCONFIGOID 3734
136#define REGDICTIONARYOID 3769
137#define TSVECTORARRAYOID 3643
138#define GTSVECTORARRAYOID 3644
139#define TSQUERYARRAYOID 3645
140#define REGCONFIGARRAYOID 3735
141#define REGDICTIONARYARRAYOID 3770
142#define JSONBOID 3802
143#define JSONBARRAYOID 3807
144#define TXID_SNAPSHOTOID 2970
145#define TXID_SNAPSHOTARRAYOID 2949
146#define INT4RANGEOID 3904
147#define INT4RANGEARRAYOID 3905
148#define NUMRANGEOID 3906
149#define NUMRANGEARRAYOID 3907
150#define TSRANGEOID 3908
151#define TSRANGEARRAYOID 3909
152#define TSTZRANGEOID 3910
153#define TSTZRANGEARRAYOID 3911
154#define DATERANGEOID 3912
155#define DATERANGEARRAYOID 3913
156#define INT8RANGEOID 3926
157#define INT8RANGEARRAYOID 3927
158#define RECORDOID 2249
159#define RECORDARRAYOID 2287
160#define CSTRINGOID 2275
161#define ANYOID 2276
162#define ANYARRAYOID 2277
163#define VOIDOID 2278
164#define TRIGGEROID 2279
165#define EVTTRIGGEROID 3838
166#define LANGUAGE_HANDLEROID 2280
167#define INTERNALOID 2281
168#define OPAQUEOID 2282
169#define ANYELEMENTOID 2283
170#define ANYNONARRAYOID 2776
171#define ANYENUMOID 3500
172#define FDW_HANDLEROID 3115
173#define INDEX_AM_HANDLEROID 325
174#define TSM_HANDLEROID 3310
175#define ANYRANGEOID 3831
176
177#endif /* PG_TYPE_D_H */
Note: See TracBrowser for help on using the repository browser.