[postgis-devel] [PostGIS] #1413: COPY into typmod table fails on OSX

PostGIS trac at osgeo.org
Thu Dec 29 12:33:08 PST 2011


#1413: COPY into typmod table fails on OSX
-----------------------+----------------------------------------------------
  Reporter:  pramsey   |       Owner:  pramsey      
      Type:  defect    |      Status:  closed       
  Priority:  critical  |   Milestone:  PostGIS 2.0.0
 Component:  postgis   |     Version:  trunk        
Resolution:  fixed     |    Keywords:  osx          
-----------------------+----------------------------------------------------
Changes (by pramsey):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Actually this was a larger problem with how the in/out functions were
 handling the postgis_valid_typmod function. They were freeing an lwgeom
 and then calling postgis_valid_typmod on it. So on system with looser
 memory handling, the data was still there and things worked. On OSX they
 didn't. I've changed postgis_valid_typmod to work on gserialized instead,
 which should hopefully be a better design in any event. Committed at r8615

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