PostgreSQL Source Code  git master
pg_type.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------
2  *
3  * pg_type.h
4  * Hard-wired knowledge about some standard type OIDs.
5  *
6  * XXX keep this in sync with src/include/catalog/pg_type.h
7  *
8  * Portions Copyright (c) 1996-2017, PostgreSQL Global Development Group
9  * Portions Copyright (c) 1994, Regents of the University of California
10  *
11  * src/interfaces/ecpg/ecpglib/pg_type.h
12  *
13  *-------------------------------------------------------------------------
14  */
15 #ifndef PG_TYPE_H
16 #define PG_TYPE_H
17 
18 #define BOOLOID 16
19 #define BYTEAOID 17
20 #define CHAROID 18
21 #define NAMEOID 19
22 #define INT8OID 20
23 #define INT2OID 21
24 #define INT2VECTOROID 22
25 #define INT4OID 23
26 #define REGPROCOID 24
27 #define TEXTOID 25
28 #define OIDOID 26
29 #define TIDOID 27
30 #define XIDOID 28
31 #define CIDOID 29
32 #define OIDVECTOROID 30
33 #define POINTOID 600
34 #define LSEGOID 601
35 #define PATHOID 602
36 #define BOXOID 603
37 #define POLYGONOID 604
38 #define LINEOID 628
39 #define FLOAT4OID 700
40 #define FLOAT8OID 701
41 #define ABSTIMEOID 702
42 #define RELTIMEOID 703
43 #define TINTERVALOID 704
44 #define UNKNOWNOID 705
45 #define CIRCLEOID 718
46 #define CASHOID 790
47 #define INETOID 869
48 #define CIDROID 650
49 #define BPCHAROID 1042
50 #define VARCHAROID 1043
51 #define DATEOID 1082
52 #define TIMEOID 1083
53 #define TIMESTAMPOID 1114
54 #define TIMESTAMPTZOID 1184
55 #define INTERVALOID 1186
56 #define TIMETZOID 1266
57 #define ZPBITOID 1560
58 #define VARBITOID 1562
59 #define NUMERICOID 1700
60 #define REFCURSOROID 1790
61 #define REGPROCEDUREOID 2202
62 #define REGOPEROID 2203
63 #define REGOPERATOROID 2204
64 #define REGCLASSOID 2205
65 #define REGTYPEOID 2206
66 #define REGROLEOID 4096
67 #define REGNAMESPACEOID 4089
68 #define REGTYPEARRAYOID 2211
69 #define UUIDOID 2950
70 #define LSNOID 3220
71 #define TSVECTOROID 3614
72 #define GTSVECTOROID 3642
73 #define TSQUERYOID 3615
74 #define REGCONFIGOID 3734
75 #define REGDICTIONARYOID 3769
76 #define JSONBOID 3802
77 #define INT4RANGEOID 3904
78 
79 #endif /* PG_TYPE_H */