source: trunk/pgtypes.h

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

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

File size: 4.5 KB
RevLine 
[405]1/*
[981]2    pgtypes - PostgreSQL type definitions
[405]3
[981]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.
[405]9*/
10
[952]11#ifndef PG_TYPE_D_H
[405]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
[774]28#define JSONOID 114
[405]29#define XMLOID 142
[952]30#define XMLARRAYOID 143
31#define JSONARRAYOID 199
[774]32#define PGNODETREEOID 194
[952]33#define PGNDISTINCTOID 3361
34#define PGDEPENDENCIESOID 3402
[774]35#define PGDDLCOMMANDOID 32
[952]36#define SMGROID 210
[405]37#define POINTOID 600
38#define LSEGOID 601
39#define PATHOID 602
40#define BOXOID 603
41#define POLYGONOID 604
42#define LINEOID 628
[952]43#define LINEARRAYOID 629
[405]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
[952]51#define CIRCLEARRAYOID 719
[405]52#define CASHOID 790
[952]53#define MONEYARRAYOID 791
[405]54#define MACADDROID 829
55#define INETOID 869
56#define CIDROID 650
[952]57#define MACADDR8OID 774
58#define BOOLARRAYOID 1000
59#define BYTEAARRAYOID 1001
60#define CHARARRAYOID 1002
61#define NAMEARRAYOID 1003
[774]62#define INT2ARRAYOID 1005
[952]63#define INT2VECTORARRAYOID 1006
[405]64#define INT4ARRAYOID 1007
[952]65#define REGPROCARRAYOID 1008
[405]66#define TEXTARRAYOID 1009
[774]67#define OIDARRAYOID 1028
[952]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
[405]79#define FLOAT4ARRAYOID 1021
[952]80#define FLOAT8ARRAYOID 1022
81#define ABSTIMEARRAYOID 1023
82#define RELTIMEARRAYOID 1024
83#define TINTERVALARRAYOID 1025
84#define POLYGONARRAYOID 1027
[405]85#define ACLITEMOID 1033
[952]86#define ACLITEMARRAYOID 1034
87#define MACADDRARRAYOID 1040
88#define MACADDR8ARRAYOID 775
89#define INETARRAYOID 1041
90#define CIDRARRAYOID 651
[405]91#define CSTRINGARRAYOID 1263
92#define BPCHAROID 1042
93#define VARCHAROID 1043
94#define DATEOID 1082
95#define TIMEOID 1083
96#define TIMESTAMPOID 1114
[952]97#define TIMESTAMPARRAYOID 1115
98#define DATEARRAYOID 1182
99#define TIMEARRAYOID 1183
[405]100#define TIMESTAMPTZOID 1184
[952]101#define TIMESTAMPTZARRAYOID 1185
[405]102#define INTERVALOID 1186
[952]103#define INTERVALARRAYOID 1187
104#define NUMERICARRAYOID 1231
[405]105#define TIMETZOID 1266
[952]106#define TIMETZARRAYOID 1270
[405]107#define BITOID 1560
[952]108#define BITARRAYOID 1561
[405]109#define VARBITOID 1562
[952]110#define VARBITARRAYOID 1563
[405]111#define NUMERICOID 1700
112#define REFCURSOROID 1790
[952]113#define REFCURSORARRAYOID 2201
[405]114#define REGPROCEDUREOID 2202
115#define REGOPEROID 2203
116#define REGOPERATOROID 2204
117#define REGCLASSOID 2205
118#define REGTYPEOID 2206
[774]119#define REGROLEOID 4096
120#define REGNAMESPACEOID 4089
[952]121#define REGPROCEDUREARRAYOID 2207
122#define REGOPERARRAYOID 2208
123#define REGOPERATORARRAYOID 2209
124#define REGCLASSARRAYOID 2210
[405]125#define REGTYPEARRAYOID 2211
[952]126#define REGROLEARRAYOID 4097
127#define REGNAMESPACEARRAYOID 4090
[774]128#define UUIDOID 2950
[952]129#define UUIDARRAYOID 2951
[774]130#define LSNOID 3220
[952]131#define PG_LSNARRAYOID 3221
[405]132#define TSVECTOROID 3614
133#define GTSVECTOROID 3642
134#define TSQUERYOID 3615
135#define REGCONFIGOID 3734
136#define REGDICTIONARYOID 3769
[952]137#define TSVECTORARRAYOID 3643
138#define GTSVECTORARRAYOID 3644
139#define TSQUERYARRAYOID 3645
140#define REGCONFIGARRAYOID 3735
141#define REGDICTIONARYARRAYOID 3770
[774]142#define JSONBOID 3802
[952]143#define JSONBARRAYOID 3807
144#define TXID_SNAPSHOTOID 2970
145#define TXID_SNAPSHOTARRAYOID 2949
[774]146#define INT4RANGEOID 3904
[952]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
[405]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
[774]165#define EVTTRIGGEROID 3838
[405]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
[774]172#define FDW_HANDLEROID 3115
[952]173#define INDEX_AM_HANDLEROID 325
[774]174#define TSM_HANDLEROID 3310
175#define ANYRANGEOID 3831
[405]176
[952]177#endif /* PG_TYPE_D_H */
Note: See TracBrowser for help on using the repository browser.