[postgis-tickets] [PostGIS] #3342: Bug in postgis_typmod_out that causes that the hasm information is igrnoed for typmod creation

PostGIS trac at osgeo.org
Tue Oct 20 06:23:33 PDT 2015


#3342: Bug in  postgis_typmod_out that causes that the hasm information is igrnoed
for typmod creation
-----------------------+---------------------------
 Reporter:  freget     |      Owner:  strk
     Type:  patch      |     Status:  new
 Priority:  medium     |  Milestone:  PostGIS 2.2.1
Component:  liblwgeom  |    Version:  2.2.x
 Keywords:             |
-----------------------+---------------------------
 While reviewing the source code of the function
 postgis_typmod_out(PG_FUNCTION_ARGS) in gserialized_typmod.c, I came
 across the following, small bug:

 Line 61 certainly should read
 {{{
 if ( ! ( srid || type || hasz || hasm ) )
 }}}


 instead of
 {{{
 if ( ! ( srid || type || hasz || hasz ) )
 }}}


 Sadly I am not able to provide a proper patch as I am missing the
 corrsponding toolset at my work computer.

--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/3342>
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