[postgis-devel] [PostGIS] #2101: SQL hooks for calling selectivity functions
PostGIS
trac at osgeo.org
Tue Nov 20 15:41:03 PST 2012
#2101: SQL hooks for calling selectivity functions
-------------------------+--------------------------------------------------
Reporter: pramsey | Owner: pramsey
Type: enhancement | Status: new
Priority: medium | Milestone: PostGIS 2.1.0
Component: postgis | Version: trunk
Keywords: |
-------------------------+--------------------------------------------------
Comment(by pramsey):
Oh, and for those wondering (like me) how to create a 'regclass' so you
can call this function, regclass just takes in table names as strings,
schema qualified or not, and happily spits out the right object, so
{{{
select _postgis_geometry_sel('mytable','mycol','LINESTRING(0 0, 30 30)');
}}}
will work thanks to the magic of auto-casting.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2101#comment:7>
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