[postgis-devel] [PostGIS] #1287: Drop of "gist_geometry_ops" broke a few clients

PostGIS trac at osgeo.org
Sat Nov 12 07:38:32 PST 2011


#1287: Drop of "gist_geometry_ops" broke a few clients
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by robe):

 Yah tell me about it.  It broke osm2pgsql too which I noted in this
 ticket:
 http://trac.osgeo.org/postgis/ticket/1183 and remember it broke your
 topology code early on.  Yes you were the first victim and it broke our
 shp2pgsql loader which we fixed.

 But strk, as much as you would think I would be against Paul's change and
 be on your side, I am not.  I welcome the clarity and having both and
 ops_2d and a regular ops does not make sense in my opinion and I certainly
 don't want to get rid of the 2d otherwise how will new people know that it
 is 2d and not nd or an all purpose guess what index to use based on your
 data.  As I said the easy fix is just get rid of those stupid qualifiers
 in the code if you expect 2d.  I know it requires 3rd party developers
 changing their code, but I honestly never understood why we encouraged
 people putting that in there anyway.  I know its a tough call, but at
 least the change required would work for both earlier PostGIS and 2.0.

 We can check on the db restore issue and see if there are any.  I haven't
 noticed any in databases I restored from 1.5, but that might be because
 non of my tables had explicit create in them which is interesting since a
 lot were loaded with shp2pgsql which apparently had gist_geometry_ops
 hardcoded in there.  Indexes all came back fine without the
 gist_geometry_ops.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1287#comment:2>
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