Changeset 3287
- Timestamp:
- 11/11/08 12:38:10 (4 years ago)
- Location:
- branches/1.3
- Files:
-
- 3 modified
-
lwgeom/lwgeom_gist.c (modified) (1 diff)
-
lwgeom/lwpostgis.sql.in (modified) (2 diffs)
-
regress/run_test (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.3/lwgeom/lwgeom_gist.c
r3104 r3287 599 599 #endif 600 600 601 #if USE_VERSION >= 84 602 /* PostgreSQL 8.4 and later require the RECHECK flag to be set here, 603 rather than being supplied as part of the operator class definition */ 604 bool *recheck = (bool *) PG_GETARG_POINTER(4); 605 606 /* And since the index is lossy from conversion from float8 to float4, we must 607 recheck */ 608 *recheck = true; 609 #endif 610 601 611 #ifdef PGIS_DEBUG_CALLS 602 612 elog(NOTICE,"GIST: LWGEOM_gist_consistent called"); -
branches/1.3/lwgeom/lwpostgis.sql.in
r3246 r3287 1306 1306 #else 1307 1307 1308 -- 1309 -- Create opclass index bindings for PG>=73 1308 #if USE_VERSION < 84 1309 1310 -- 1311 -- Create opclass index bindings for PG>=73 and PG<=83 1310 1312 -- 1311 1313 … … 1342 1344 1343 1345 -- TODO: add btree binding... 1346 1347 #else 1348 1349 -- 1350 -- Create opclass index bindings for PG>83 1351 -- (No RECHECK since this is now handled as part of the GiST Access methods) 1352 -- 1353 1354 CREATE OPERATOR CLASS gist_geometry_ops 1355 DEFAULT FOR TYPE geometry USING gist AS 1356 STORAGE box2d, 1357 OPERATOR 1 <<, 1358 OPERATOR 2 &<, 1359 OPERATOR 3 &&, 1360 OPERATOR 4 &>, 1361 OPERATOR 5 >>, 1362 OPERATOR 6 ~=, 1363 OPERATOR 7 ~, 1364 OPERATOR 8 @, 1365 OPERATOR 9 &<|, 1366 OPERATOR 10 <<|, 1367 OPERATOR 11 |>>, 1368 OPERATOR 12 |&>, 1369 FUNCTION 1 LWGEOM_gist_consistent (internal, geometry, int4), 1370 FUNCTION 2 LWGEOM_gist_union (bytea, internal), 1371 FUNCTION 3 LWGEOM_gist_compress (internal), 1372 FUNCTION 4 LWGEOM_gist_decompress (internal), 1373 FUNCTION 5 LWGEOM_gist_penalty (internal, internal, internal), 1374 FUNCTION 6 LWGEOM_gist_picksplit (internal, internal), 1375 FUNCTION 7 LWGEOM_gist_same (box2d, box2d, internal); 1376 1377 #endif 1344 1378 1345 1379 #endif -
branches/1.3/regress/run_test
r2595 r3287 124 124 | grep -v "^CREATE" \ 125 125 | grep -v "^SET" \ 126 | grep -v "^LINE " \ 127 | grep -v "\^$" \ 126 128 | sed 's/Infinity/inf/g;s/Inf/inf/g;s/1\.#INF/inf/g' \ 127 129 | sed 's/[eE]\([+-]\)0\{1,\}\([0-9]\{1,\}\)/e\1\2/g' \
