[postgis-devel] [PostGIS] #1505: Deal with database dumps containing geometries with SRID > MAX_SRID

PostGIS trac at osgeo.org
Fri Feb 10 08:03:50 PST 2012


#1505: Deal with database dumps containing geometries with SRID > MAX_SRID
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 To be clearer: if the dump has a check like this:

 {{{
     "enforce_srid_geom2" CHECK (st_srid(geom2) = 999002)
 }}}

 The core can't do anything about it, it'll always fail, so we need to fix
 at the restore end.

 Converting to typmod could do, but anyway if we _are_ the core we can't
 refuse to use 999002 because otherwise our system of reserved srids
 handling would also fail.

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