[postgis-devel] [PostGIS] #1283: ST_MapAlgebraFct 2 band version function proto looks wrong
PostGIS
trac at osgeo.org
Fri Nov 11 17:03:13 PST 2011
#1283: ST_MapAlgebraFct 2 band version function proto looks wrong
----------------------------+-----------------------------------------------
Reporter: robe | Owner: pracine
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by robe):
I wonder if this is a pgAdmin bug. When I install in 9.1:
{{{
CREATE OR REPLACE FUNCTION st_mapalgebrafct(
rast1 raster,
rast2 raster,
userfunction regprocedure,
pixeltype text DEFAULT NULL, extenttype text DEFAULT
'INTERSECTION',
VARIADIC userargs text[] DEFAULT NULL
)
RETURNS raster
AS $$ SELECT st_mapalgebrafct($1, 1, $2, 1, $3, $4, $5, VARIADIC
$6) $$
LANGUAGE 'SQL' STABLE;
}}}
and I look at what got installed in PgAdmin -- it shows me:
{{{
CREATE OR REPLACE FUNCTION st_mapalgebrafct(IN rast1 raster, IN rast2
raster, IN userfunction regprocedure DEFAULT NULL::text, IN pixeltype text
DEFAULT 'INTERSECTION'::text, IN extenttype text DEFAULT NULL::text[],
VARIADIC userargs text[])
RETURNS raster AS
' SELECT st_mapalgebrafct($1, 1, $2, 1, $3, $4, $5, VARIADIC $6) '
LANGUAGE sql STABLE
COST 100;
}}}
I'll experiment and see.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1283#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list