From 85bc5bf272b18cbc531a79e8ae93e2c7f34b4617 Mon Sep 17 00:00:00 2001 From: Bborie Park Date: Tue, 7 Feb 2012 19:35:56 +0000 Subject: [PATCH] Minor cleanup of parameter names of ST_Intersection(raster, geometry) git-svn-id: http://svn.osgeo.org/postgis/trunk@9071 b70326c6-7e19-0410-871a-916f4a2858ee --- raster/rt_pg/rtpostgis.sql.in.c | 8 ++++---- raster/rt_pg/rtpostgis_drop.sql.in.c | 6 ++++++ 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/raster/rt_pg/rtpostgis.sql.in.c b/raster/rt_pg/rtpostgis.sql.in.c index 094f0c2db..ea1614efe 100644 --- a/raster/rt_pg/rtpostgis.sql.in.c +++ b/raster/rt_pg/rtpostgis.sql.in.c @@ -3255,7 +3255,7 @@ CREATE OR REPLACE FUNCTION st_intersection( ----------------------------------------------------------------------- CREATE OR REPLACE FUNCTION st_intersection( - rast1 raster, band1 int, + rast raster, band int, geom geometry, extenttype text DEFAULT 'INTERSECTION', otheruserfunc regprocedure DEFAULT NULL @@ -3277,7 +3277,7 @@ CREATE OR REPLACE FUNCTION st_intersection( $$ LANGUAGE 'plpgsql' STABLE; CREATE OR REPLACE FUNCTION st_intersection( - rast1 raster, band1 int, + rast raster, band int, geom geometry, otheruserfunc regprocedure ) @@ -3286,7 +3286,7 @@ CREATE OR REPLACE FUNCTION st_intersection( LANGUAGE 'sql' STABLE; CREATE OR REPLACE FUNCTION st_intersection( - rast1 raster, + rast raster, geom geometry, extenttype text DEFAULT 'INTERSECTION', otheruserfunc regprocedure DEFAULT NULL @@ -3296,7 +3296,7 @@ CREATE OR REPLACE FUNCTION st_intersection( LANGUAGE 'sql' STABLE; CREATE OR REPLACE FUNCTION st_intersection( - rast1 raster, + rast raster, geom geometry, otheruserfunc regprocedure ) diff --git a/raster/rt_pg/rtpostgis_drop.sql.in.c b/raster/rt_pg/rtpostgis_drop.sql.in.c index 975cb1a9d..c5e257096 100644 --- a/raster/rt_pg/rtpostgis_drop.sql.in.c +++ b/raster/rt_pg/rtpostgis_drop.sql.in.c @@ -304,3 +304,9 @@ DROP FUNCTION IF EXISTS st_minpossibleval(text); -- function deprecated previously DROP FUNCTION IF EXISTS st_pixelaspolygon(raster, integer, integer, integer); + +-- function signatures changed +DROP FUNCTION IF EXISTS st_intersection(raster, int, geometry, text, regprocedure); +DROP FUNCTION IF EXISTS st_intersection(raster, int, geometry, regprocedure); +DROP FUNCTION IF EXISTS st_intersection(raster, geometry, text, regprocedure); +DROP FUNCTION IF EXISTS st_intersection(raster, geometry, regprocedure); -- 2.40.0