Commit a4009a04 authored by Paul Ramsey's avatar Paul Ramsey

Cost a few more opreators


git-svn-id: http://svn.osgeo.org/postgis/trunk@17310 b70326c6-7e19-0410-871a-916f4a2858ee
parent f1568810
Pipeline #51000642 passed with stage
in 25 minutes and 55 seconds
......@@ -552,7 +552,8 @@ CREATE OR REPLACE FUNCTION gserialized_gist_joinsel_nd (internal, oid, internal,
CREATE OR REPLACE FUNCTION geometry_overlaps(geom1 geometry, geom2 geometry)
RETURNS boolean
AS 'MODULE_PATHNAME' ,'gserialized_overlaps_2d'
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL;
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL
_COST_LOW;
-- Availability: 0.1.0
-- Changed: 2.0.0 use gserialized selectivity estimators
......@@ -567,7 +568,8 @@ CREATE OPERATOR && (
CREATE OR REPLACE FUNCTION geometry_same(geom1 geometry, geom2 geometry)
RETURNS boolean
AS 'MODULE_PATHNAME' ,'gserialized_same_2d'
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL;
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL
_COST_LOW;
-- Availability: 0.1.0
CREATE OPERATOR ~= (
......@@ -582,7 +584,8 @@ CREATE OPERATOR ~= (
CREATE OR REPLACE FUNCTION geometry_distance_centroid(geom1 geometry, geom2 geometry)
RETURNS float8
AS 'MODULE_PATHNAME', 'ST_Distance'
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL;
LANGUAGE 'c' IMMUTABLE STRICT _PARALLEL
_COST_MEDIUM;
-- Availability: 2.0.0
CREATE OR REPLACE FUNCTION geometry_distance_box(geom1 geometry, geom2 geometry)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment