[postgis-tickets] [PostGIS] #2788: Warning on PG_RETURN_HEAPTUPLEHEADER building against PgSQL 9.4

PostGIS trac at osgeo.org
Fri Jun 27 03:13:05 PDT 2014


#2788: Warning on PG_RETURN_HEAPTUPLEHEADER building against PgSQL 9.4
---------------------+------------------------------------------------------
 Reporter:  pramsey  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.1.4
Component:  postgis  |     Version:  2.1.x        
 Keywords:  9.4      |  
---------------------+------------------------------------------------------

Comment(by robe):

 ah I see it.  Just to add this one is in building 2.2


 {{{
 lwgeom_geos.c: In function 'isvaliddetail':
 lwgeom_geos.c:1901:2: warning: passing argument 1 of
 'HeapTupleHeaderGetDatum' makes pointer from integer without a cast
 [enabled by default]
   PG_RETURN_HEAPTUPLEHEADER(result);
   ^
 In file included from lwgeom_geos.c:24:0:
 e:/jenkins/postgresql/rel/pg9.4w32gcc481/include/server/funcapi.h:232:14:
 note: expected 'HeapTupleHeader' but argument is of type 'Datum'
  extern Datum HeapTupleHeaderGetDatum(HeapTupleHeader tuple);
 }}}

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