km_pg_type.h

00001 /*
00002  * $Id$
00003  *
00004  * POSTGRES module, portions of this code were templated using
00005  * the mysql module, thus it's similarity.
00006  *
00007  * Copyright (C) 2003 August.Net Services, LLC
00008  * Copyright (C) 2008 1&1 Internet AG
00009  *
00010  * This file is part of Kamailio, a free SIP server.
00011  *
00012  * Kamailio is free software; you can redistribute it and/or modify
00013  * it under the terms of the GNU General Public License as published by
00014  * the Free Software Foundation; either version 2 of the License, or
00015  * (at your option) any later version
00016  *
00017  * Kamailio is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * You should have received a copy of the GNU General Public License 
00023  * along with this program; if not, write to the Free Software 
00024  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00025  *
00026  * History
00027  * -------
00028  * 2003-04-06 initial code written (Greg Fausak/Andy Fullford)
00029  *
00030  */
00031 
00032 /*
00033  * OID definitions, copied from postgresql/catalog/pg_types.h.
00034  * It would be probably more correct to use the definitions from there.
00035  */
00036 #define BOOLOID                 16
00037 #define BYTEAOID                17
00038 #define CHAROID                 18
00039 #define NAMEOID                 19
00040 #define INT8OID                 20
00041 #define INT2OID                 21
00042 #define INT2VECTOROID           22
00043 #define INT4OID                 23
00044 #define REGPROCOID              24
00045 #define TEXTOID                 25
00046 #define OIDOID                  26
00047 #define TIDOID                  27
00048 #define XIDOID                  28
00049 #define CIDOID                  29
00050 #define OIDVECTOROID            30
00051 #define POINTOID                600
00052 #define LSEGOID                 601
00053 #define PATHOID                 602
00054 #define BOXOID                  603
00055 #define POLYGONOID              604
00056 #define LINEOID                 628
00057 #define FLOAT4OID               700
00058 #define FLOAT8OID               701
00059 #define ABSTIMEOID              702
00060 #define RELTIMEOID              703
00061 #define TINTERVALOID            704
00062 #define UNKNOWNOID              705
00063 #define CIRCLEOID               718
00064 #define CASHOID                 790
00065 #define MACADDROID              829
00066 #define INETOID                 869
00067 #define CIDROID                 650
00068 #define ACLITEMOID              1033
00069 #define BPCHAROID               1042
00070 #define VARCHAROID              1043
00071 #define DATEOID                 1082
00072 #define TIMEOID                 1083
00073 #define TIMESTAMPOID            1114
00074 #define TIMESTAMPTZOID          1184
00075 #define INTERVALOID             1186
00076 #define TIMETZOID               1266
00077 #define BITOID                  1560
00078 #define VARBITOID               1562
00079 #define NUMERICOID              1700
00080 #define REFCURSOROID            1790
00081 #define REGPROCEDUREOID         2202
00082 #define REGOPEROID              2203
00083 #define REGOPERATOROID          2204
00084 #define REGCLASSOID             2205
00085 #define REGTYPEOID              2206
00086 #define RECORDOID               2249
00087 #define CSTRINGOID              2275
00088 #define ANYOID                  2276
00089 #define ANYARRAYOID             2277
00090 #define VOIDOID                 2278
00091 #define TRIGGEROID              2279
00092 #define LANGUAGE_HANDLEROID     2280
00093 #define INTERNALOID             2281
00094 #define OPAQUEOID               2282