[postgis-devel] [PostGIS] #758: [raster]: Using deprecated join select functions postgis_gist_sel postgis_gist_joinsel
PostGIS
trac at osgeo.org
Fri Jan 7 22:29:03 PST 2011
#758: [raster]: Using deprecated join select functions postgis_gist_sel
postgis_gist_joinsel
----------------------------+-----------------------------------------------
Reporter: robe | Owner: pracine
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by robe):
Jorge,
I'm really not sure whether you even need the gserialized check you have
in place: If you do, then I think the code should be:
{{{
#ifdef GSERIALIZED_ON
CREATE OPERATOR && (
LEFTARG = raster, RIGHTARG = raster, PROCEDURE = st_overlap,
COMMUTATOR = '&&',
RESTRICT = geometry_gist_sel, JOIN = geometry_gist_joinsel
);
#else
CREATE OPERATOR && (
LEFTARG = raster, RIGHTARG = raster, PROCEDURE = st_overlap,
COMMUTATOR = '&&',
RESTRICT = contsel, JOIN = contjoinsel
);
#endif
}}}
Like I mentioned on dev: http://www.postgis.org/pipermail/postgis-
devel/2011-January/011309.html
Both the gserialized and regular seem to work just fine with
geometry_gist_sel, geometry_gist_joinsel - so I'm not clear if you even
need this def check at all.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/758#comment:1>
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