Go to the documentation of this file.
26 #ifndef __TERRALIB_POSTGIS_INTERNAL_CONFIG_H
27 #define __TERRALIB_POSTGIS_INTERNAL_CONFIG_H
29 #include "../Config.h"
41 #define PGIS_DEFAULT_INITIAL_POOL_SIZE 4
48 #define PGIS_DEFAULT_MIN_POOL_SIZE 2
55 #define PGIS_DEFAULT_MAX_POOL_SIZE 4
62 #define PGIS_DEFAULT_MAX_IDLE_TIME 10
69 #define PGIS_DEFAULT_PORT "5432"
76 #define PGIS_DEFAULT_CONNECT_TIMEOUT "4"
83 #define PGIS_DEFAULT_CLIENT_ENCODING "UTF8"
90 #define PGIS_DRIVER_IDENTIFIER "POSTGIS"
101 #define PGIS_UNKNOWN_SRS -1
108 #define TERRALIB_RASTER_DRIVER_IDENTIFIER "TEPG"
110 #define PG_UNKNOW_TYPE -1
111 #define PG_BOOL_TYPE 16
112 #define PG_BYTEA_TYPE 17
113 #define PG_CHAR_TYPE 18
114 #define PG_NAME_TYPE 19
115 #define PG_INT8_TYPE 20
116 #define PG_INT2_TYPE 21
117 #define PG_INT2_VECTOR_TYPE 22
118 #define PG_INT4_TYPE 23
119 #define PG_TEXT_TYPE 25
120 #define PG_OID_TYPE 26
121 #define PG_FLOAT4_TYPE 700
122 #define PG_FLOAT8_TYPE 701
123 #define PG_CHARACTER_TYPE 1042
124 #define PG_VARCHAR_TYPE 1043
125 #define PG_DATE_TYPE 1082
126 #define PG_TIME_TYPE 1083
127 #define PG_TIMETZ_TYPE 1266
128 #define PG_TIMESTAMP_TYPE 1114
129 #define PG_TIMESTAMPTZ_TYPE 1184
130 #define PG_NUMERIC_TYPE 1700
131 #define PG_BOOL_ARRAY_TYPE 1000
132 #define PG_BYTEA_ARRAY_TYPE 1001
133 #define PG_CHAR_ARRAY_TYPE 1002
134 #define PG_NAME_ARRAY_TYPE 1003
135 #define PG_INT8_ARRAY_TYPE 1016
136 #define PG_INT2_ARRAY_TYPE 1005
137 #define PG__INT2_VECTOR_TYPE 1006
138 #define PG_INT4_ARRAY_TYPE 1007
139 #define PG_TEXT_ARRAY_TYPE 1009
140 #define PG_OID_ARRAY_TYPE 1028
141 #define PG_OID_VECTOR_TYPE 1013
142 #define PG_FLOAT4_ARRAY_TYPE 1021
143 #define PG_FLOAT8_ARRAY_TYPE 1022
144 #define PG_CHARACTER_ARRAY_TYPE 1014
145 #define PG_VARCHAR_ARRAY_TYPE 1015
146 #define PG_DATE_ARRAY_TYPE 1182
147 #define PG_TIME_ARRAY_TYPE 1183
148 #define PG_TIMETZ_ARRAY_TYPE 1270
149 #define PG_TIMESTAMP_ARRAY_TYPE 1115
150 #define PG_TIMESTAMPTZ_ARRAY_TYPE 1185
151 #define PG_NUMERIC_ARRAY_TYPE 1231
160 #define TE_EWKB_ZM_OFFSET 0xC0000000
161 #define TE_EWKB_Z_OFFSET 0x80000000
162 #define TE_EWKB_M_OFFSET 0x40000000
163 #define TE_EWKB_SRID_FLAG 0x20000000
164 #define TE_EWKB_BBOX_FLAG 0x10000000
185 #pragma warning( disable : 4251 )
186 #pragma warning( disable : 4275 )
190 #define TEPGISEXPORT // Don't need to export/import... it is a static library
192 #define TEPGISEXPORT __declspec(dllexport) // export DLL information
194 #define TEPGISEXPORT __declspec(dllimport) // import DLL information
202 #endif // __TERRALIB_POSTGIS_INTERNAL_CONFIG_H