[postgis-tickets] [PostGIS] #2529: LWGEOM API for read-only PointArrays is not enforced

PostGIS trac at osgeo.org
Wed Nov 6 12:06:01 PST 2013


#2529: LWGEOM API for read-only PointArrays is not enforced
---------------------------------+------------------------------------------
  Reporter:  marcelosoaressouza  |       Owner:  pramsey                                
      Type:  defect              |      Status:  reopened                               
  Priority:  medium              |   Milestone:  PostGIS 2.2.0                          
 Component:  postgis             |     Version:  trunk                                  
Resolution:                      |    Keywords:  ST_FlipCoordinates, PostGIS, PostgreSQL
---------------------------------+------------------------------------------

Comment(by strk):

 Doing the copy in liblwgeom would make it impossible to avoid a copy, if a
 caller knows it already has a copy. A PG_DETOAST_DATUM might give you a
 copy anyway, so if liblwgeom made another you'd end up with two copies for
 no reason.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2529#comment:11>
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-tickets mailing list