[postgis-devel] [PostGIS] #991: Set remaining bits in type byte to zero

PostGIS trac at osgeo.org
Tue Jan 10 00:41:30 PST 2012


#991: Set remaining bits in type byte to zero
--------------------------+-------------------------------------------------
  Reporter:  pramsey      |       Owner:  strk         
      Type:  enhancement  |      Status:  closed       
  Priority:  high         |   Milestone:  PostGIS 2.0.0
 Component:  postgis      |     Version:  trunk        
Resolution:  fixed        |    Keywords:               
--------------------------+-------------------------------------------------
Changes (by strk):

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


Comment:

 It seems to me we're fine here. All code writing type is copying an
 uint32_t value verbatim after checking it to match existing type macros.
 Any unknown value would trigger an error. Known values are up to 15.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/991#comment:2>
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