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

PostGIS trac at osgeo.org
Wed Nov 6 10:44:50 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 pramsey):

 Well, we're making copies regardless. We're doing it at the PgSQL level
 (PG_DETOAST_DATUM_COPY) and then letting liblwgeom mutate that. I don't
 see why making liblwgeom strict and doing the copies using liblwgeom would
 be vastly worse than having them done by PgSQL first.

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