PostgreSQL Source Code  git master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
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 
61 #endif /* PG_TYPE_H */