[postgis-tickets] [PostGIS] #3675: Relationship functions not using an index in some cases

PostGIS trac at osgeo.org
Thu Jan 5 06:49:33 PST 2017


#3675: Relationship functions not using an index in some cases
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 2.3.2
 Component:  postgis  |    Version:  2.3.x
Resolution:           |   Keywords:
----------------------+---------------------------

Comment (by jdsterritt):

 Setting the cost on ST_Centroid to 1.0 corrects the index usage. I've have
 verified this in both the query plan and in our test environment.

 Setting the cost on ST_SnapToGrid to 1.0 doesn't help and it appears the
 indexes are missed. This was verified in both the query plan and test
 environments.

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