InfiniSQL
v0.1.2-alpha
Massive Scale Transaction Processing
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
pgoids.h
Go to the documentation of this file.
1
/* type OID's taken from PostgreSQL-9.2.4/src/include/catalog/pg_type.h
2
* This file falls under the following Copyright and license
3
*
4
* PostgreSQL Database Management System
5
* (formerly known as Postgres, then as Postgres95)
6
*
7
* Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group
8
*
9
* Portions Copyright (c) 1994, The Regents of the University of California
10
*
11
* Permission to use, copy, modify, and distribute this software and its
12
* documentation for any purpose, without fee, and without a written agreement
13
* is hereby granted, provided that the above copyright notice and this
14
* paragraph and the following two paragraphs appear in all copies.
15
*
16
* IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
17
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
18
* LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
19
* DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
20
* POSSIBILITY OF SUCH DAMAGE.
21
*
22
* THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
23
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
24
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
25
* ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
26
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
27
*/
28
41
#ifndef PGOID_H
42
#define PGOID_H
43
44
#define BOOLOID 16 // boolean, 'true'/'false'
45
#define BYTEAOID 17 // variable-length string, binary values
46
// escaped
47
#define CHAROID 18 // single character
48
#define NAMEOID 19 // 63-byte type for storing system identifiers
49
#define INT8OID 20 // ~18 digit integer, 8-byte storage
50
#define INT2OID 21 // -32 thousand to 32 thousand, 2-byte storage
51
#define INT2VECTOROID 22 // array of int2, used in system tables
52
#define INT4OID 23 // -2 billion to 2 billion integer, 4-byte
53
// storage
54
#define REGPROCOID 24 // registered procedure"
55
#define TEXTOID 25 // variable-length string, no limit specified
56
#define OIDOID 26 // object identifier(oid), maximum 4 billion
57
#define TIDOID 27 // (block, offset), physical location of tuple
58
#define XIDOID 28 // transaction id
59
#define CIDOID 29 // command identifier type, sequence in transaction id
60
#define OIDVECTOROID 30 // array of oids, used in system tables
61
#define JSONOID 114
62
#define XMLOID 142 // XML content
63
#define PGNODETREEOID 194 // string representing an internal node tree
64
#define POINTOID 600 // geometric point '(x, y)'
65
#define LSEGOID 601 // geometric line segment '(pt1,pt2)'
66
#define PATHOID 602 // geometric path '(pt1,...)'
67
#define BOXOID 603 // geometric box '(lower left,upper right)'
68
#define POLYGONOID 604 // geometric polygon '(pt1,...)'
69
#define LINEOID 628 // geometric line (not implemented)
70
#define FLOAT4OID 700 // single-precision floating point number, 4-byte storage
71
#define FLOAT8OID 701 // double-precision floating point number, 8-byte storage
72
#define ABSTIMEOID 702 // absolute, limited-range date and time
73
// (Unix system time)
74
#define RELTIMEOID 703 // relative, limited-range time interval
75
// (Unix delta time)
76
#define TINTERVALOID 704 // (abstime,abstime), time interval
77
#define UNKNOWNOID 705
78
#define CIRCLEOID 718 // geometric circle '(center,radius)'
79
#define CASHOID 790 // monetary amounts, $d,ddd.cc
80
#define MACADDROID 829 // XX:XX:XX:XX:XX:XX, MAC address
81
#define INETOID 869 // IP address/netmask, host address, netmask optional
82
#define CIDROID 650 // network IP address/netmask, network address
83
#define INT4ARRAYOID 1007
84
#define TEXTARRAYOID 1009
85
#define FLOAT4ARRAYOID 1021
86
#define ACLITEMOID 1033 // access control list
87
#define CSTRINGARRAYOID 1263
88
#define BPCHAROID 1042 // char(length), blank-padded string,
89
// fixed storage length
90
#define VARCHAROID 1043 // varchar(length), non-blank-padded
91
// string, variable storage length
92
#define DATEOID 1082 // date
93
#define TIMEOID 1083 // time of day
94
#define TIMESTAMPOID 1114 // date and time
95
#define TIMESTAMPTZOID 1184 // date and time with time zone
96
#define INTERVALOID 1186 // @ <number> <units>, time interval
97
#define TIMETZOID 1266 // time of day with time zone
98
#define BITOID 1560 // fixed-length bit string
99
#define VARBITOID 1562 // variable-length bit string
100
#define NUMERICOID 1700 // numeric(precision, decimal),
101
// arbitrary precision number
102
#define REFCURSOROID 1790 // reference to cursor (portal name)
103
#define REGPROCEDUREOID 2202 // registered procedure (with args)
104
#define REGOPEROID 2203 // registered operator
105
#define REGOPERATOROID 2204 // registered operator (with args)
106
#define REGCLASSOID 2205 // registered class
107
#define REGTYPEOID 2206 // registered type
108
#define REGTYPEARRAYOID 2211
109
#define TSVECTOROID 3614 // text representation for text search
110
#define GTSVECTOROID 3642 // GiST index internal text representation for
111
// text search
112
#define TSQUERYOID 3615 // GiST index internal text representation
113
// for text search
114
#define REGCONFIGOID 3734 // registered text search configuration
115
#define REGDICTIONARYOID 3769 // registered text search dictionary
116
#define INT4RANGEOID 3904 // range of integers
117
#define RECORDOID 2249
118
#define RECORDARRAYOID 2287
119
#define CSTRINGOID 2275
120
#define ANYOID 2276
121
#define ANYARRAYOID 2277
122
#define VOIDOID 2278
123
#define TRIGGEROID 2279
124
#define LANGUAGE_HANDLEROID 2280
125
#define INTERNALOID 2281
126
#define OPAQUEOID 2282
127
#define ANYELEMENTOID 2283
128
#define ANYNONARRAYOID 2776
129
#define ANYENUMOID 3500
130
#define FDW_HANDLEROID 3115
131
#define ANYRANGEOID 3831
132
133
#endif
/* PHOID_H */
infinisqld
pgoids.h
Generated on Tue Dec 24 2013 06:05:45 for InfiniSQL by
1.8.4