[postgis-devel] [PostGIS] #1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy

PostGIS trac at osgeo.org
Tue Mar 13 08:14:01 PDT 2012


#1668: ST_AsText, ST_AsEWKT under Windows 64-bit PostGIS 64-bit is all screwy
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:  mingw64  |  
---------------------+------------------------------------------------------

Comment(by strk):

 Beside this big changes, what strikes me is that the code in
 stringbuffer_avprintf is just _hoping_ to have enough space for writing
 the output and if not, hoping for one-more-bit to make a difference, which
 is kind of luck-based.

 I keep thinking that for 2.0 having the new string allocated would save us
 some headaches.
 Then auditing for callers to see how they could do to get better
 performance.

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