[postgis-devel] [PostGIS] #1426: OGR2OGR fails importing data to postgis

PostGIS trac at osgeo.org
Mon Jan 2 09:35:26 PST 2012


#1426: OGR2OGR fails importing data to postgis
-----------------------------+----------------------------------------------
 Reporter:  anguscarr        |       Owner:  pramsey      
     Type:  defect           |      Status:  new          
 Priority:  low              |   Milestone:  PostGIS 2.0.0
Component:  postgis          |     Version:  1.5.X        
 Keywords:  ogr2ogr, import  |  
-----------------------------+----------------------------------------------

Comment(by robe):

 Angus,

 I think that is safe enough.  I was thinking we should probably do the
 same in PostGIS code or at the very least put it in our
 legacy_compatibility_layer.sql install file.
 -----------------------------------
 Paul,Strk,Mark, Chris -- can you think of any reason why we shouldn't add
 that to the legacy_compatibility_layer.sql .  I think the reason strk (or
 soeone else -- can't remember) was against was because it was just
 silently ignoring a problem instead of fixing it and allowing the error to
 be raised would cause people to fix the issue in their underlying code.
 Unfortunately I don't think there is a way for us to throw up a notice in
 a rule.

 For PostgreSQL 9.1 plus, we could use a view trigger instead and then we
 can raise a notice.  For 9.0 and less, we can only using view rules which
 have to be pure slq.

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