[postgis-tickets] [PostGIS] #4802: Spatial query with find_srid() not using the spatial index

PostGIS trac at osgeo.org
Fri Dec 4 01:13:45 PST 2020


#4802: Spatial query with find_srid() not using the spatial index
-------------------------+---------------------------
  Reporter:  Paco Calvo  |      Owner:  pramsey
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 3.1.0
 Component:  postgis     |    Version:  3.0.x
Resolution:              |   Keywords:
-------------------------+---------------------------

Comment (by Paco Calvo):

 Re-defining find_srid() as an IMMUTABLE function works as expected.

 Also note, this problem seems to arise with PostGIS 3.0 on PostgreSQL
 previous to v12 (as tested in 9.6 and 11). Using PostGIS 3.0 on PostgreSQL
 12 and 13 works fine.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4802#comment:4>
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-tickets mailing list