[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 09:08:58 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 pramsey):

 No, it's not hoping. You'll see it adds enough to fit maxlen into the
 buffer. This code is behind all our AsText emitting and KML emitting, it's
 not lightly used or tested. If for some unforseen reason it's just plain
 impossible to add enough buffer or in fact there is a print error it
 errors back to the caller, which seems perfectly reasonable.

 Anyways, I will roll back the big patch shortly and Regina can try and
 force MinGW to behave sanely.

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