[postgis-tickets] r15382 - @ operator not schema qualified and ~ not schema qualified in some places
Regina Obe
lr at pcorp.us
Tue May 2 20:12:37 PDT 2017
Author: robe
Date: 2017-05-02 20:12:37 -0700 (Tue, 02 May 2017)
New Revision: 15382
Modified:
trunk/postgis/postgis.sql.in
trunk/raster/rt_pg/rtpostgis.sql.in
Log:
@ operator not schema qualified and ~ not schema qualified in some places
apply patch with adjustments. Patch provided by Shane StClair (Axiom Data Science)
References #3750 for trunk PostGIS 2.4.0
Modified: trunk/postgis/postgis.sql.in
===================================================================
--- trunk/postgis/postgis.sql.in 2017-05-01 02:39:06 UTC (rev 15381)
+++ trunk/postgis/postgis.sql.in 2017-05-03 03:12:37 UTC (rev 15382)
@@ -4094,7 +4094,7 @@
-- Availability: 1.2.2
CREATE OR REPLACE FUNCTION ST_CoveredBy(geom1 geometry, geom2 geometry)
RETURNS boolean
- AS 'SELECT $1 @ $2 AND @extschema at ._ST_CoveredBy($1,$2)'
+ AS 'SELECT $1 OPERATOR(@extschema at .@) $2 AND @extschema at ._ST_CoveredBy($1,$2)'
LANGUAGE 'sql' IMMUTABLE _PARALLEL;
-- Availability: 1.2.2
Modified: trunk/raster/rt_pg/rtpostgis.sql.in
===================================================================
--- trunk/raster/rt_pg/rtpostgis.sql.in 2017-05-01 02:39:06 UTC (rev 15381)
+++ trunk/raster/rt_pg/rtpostgis.sql.in 2017-05-03 03:12:37 UTC (rev 15382)
@@ -5718,7 +5718,7 @@
CREATE OR REPLACE FUNCTION raster_contained(raster, raster)
RETURNS bool
- AS 'select $1::geometry @ $2::geometry'
+ AS 'select $1::geometry OPERATOR(@extschema at .@) $2::geometry'
LANGUAGE 'sql' IMMUTABLE STRICT _PARALLEL;
CREATE OR REPLACE FUNCTION raster_contain(raster, raster)
@@ -5742,7 +5742,7 @@
-- Availability: 2.0.5
CREATE OR REPLACE FUNCTION raster_contained_by_geometry(raster, geometry)
RETURNS bool
- AS 'select $1::geometry @ $2'
+ AS 'select $1::geometry OPERATOR(@extschema at .@) $2'
LANGUAGE 'sql' IMMUTABLE STRICT _PARALLEL;
-- Availability: 2.0.0
@@ -5756,13 +5756,13 @@
-- Availability: 2.0.0
CREATE OR REPLACE FUNCTION geometry_raster_contain(geometry, raster)
RETURNS bool
- AS 'select $1 ~ $2::geometry'
+ AS 'select $1 OPERATOR(@extschema at .~) $2::geometry'
LANGUAGE 'sql' IMMUTABLE STRICT _PARALLEL;
-- Availability: 2.0.5
CREATE OR REPLACE FUNCTION geometry_contained_by_raster(geometry, raster)
RETURNS bool
- AS 'select $1 @ $2::geometry'
+ AS 'select $1 OPERATOR(@extschema at .@) $2::geometry'
LANGUAGE 'sql' IMMUTABLE STRICT _PARALLEL;
-- Availability: 2.0.0
More information about the postgis-tickets
mailing list