]> granicus.if.org Git - postgis/commitdiff
Fixes to make sure PostgreSQL version > 9.2 compile without warnings
authorBborie Park <bkpark at ucdavis.edu>
Fri, 2 Aug 2013 20:56:33 +0000 (20:56 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Fri, 2 Aug 2013 20:56:33 +0000 (20:56 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@11720 b70326c6-7e19-0410-871a-916f4a2858ee

raster/Makefile.in
raster/rt_pg/rtpg_band_properties.c
raster/rt_pg/rtpg_gdal.c
raster/rt_pg/rtpg_geometry.c
raster/rt_pg/rtpg_pixel.c
raster/rt_pg/rtpg_raster_properties.c
raster/rt_pg/rtpg_statistics.c

index 5e71c6b2e58b7e344411c24577558b5274c0e5b1..c112e2e78f4c9f3e47ae65e5b283890870379ce9 100644 (file)
@@ -10,8 +10,6 @@
 #
 #############################################################################
 
-.NOTPARALLEL:
-
 all: @RT_CORE_LIB@ @RT_PG_LIB@ @RT_LOADER@ @RT_POSTGIS_SQL@ 
 
 corelib:
index 9a282c4f3909e348f47169e097b239d63fedac46..a8a376deebbbedb1aa423fdd6640154fa4950097 100644 (file)
 #include "utils/array.h" /* for ArrayType */
 #include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
 
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
 #include "rtpostgis.h"
 
 /* Get all the properties of a raster band */
index f964d50cb9710acf63be2f078ee95a726a54fb79..5906d2e431a0d4b852bcf7ef3aa52976bc9f8a05 100644 (file)
 #include "utils/array.h" /* for ArrayType */
 #include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
 
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
 #include "rtpostgis.h"
 #include "rtpg_internal.h"
 
index a7a6d61676ac1abeb3dbee01fb252c3d94d47b67..ed492e3b6e621d94218528121c1ad2aacf720003 100644 (file)
 #include <utils/builtins.h> /* for text_to_cstring() */
 
 #include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
 #include "lwgeom_pg.h"
 
 #include "rtpostgis.h"
index 7b93ba20c22445b94d8c3f40cbb492b6b507ffaa..3c21940c0e21f37f9312a9bfb361362bd30f13ef 100644 (file)
 #include "utils/array.h" /* for ArrayType */
 #include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
 
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
 #include "rtpostgis.h"
 
 /* Get pixel value */
index 368b04070feaeb4677cf0211813ac0a6022c5ccb..d3157c7e73992cdf6de2e0451efecfda614c4976 100644 (file)
@@ -32,6 +32,8 @@
 #include <fmgr.h>
 #include <funcapi.h>
 
+#include "../../postgis_config.h"
+
 #if POSTGIS_PGSQL_VERSION > 92
 #include "access/htup_details.h" /* for heap_form_tuple() */
 #endif
index 453c26a4dc1d8f7d050a24fe26e63e8a34025739..58fcf556332addfd10608fcc1bc2e51c67fcd9cf 100644 (file)
 #include <executor/spi.h>
 #include <funcapi.h> /* for SRF */
 
+#include "../../postgis_config.h"
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h" /* for heap_form_tuple() */
+#endif
+
 #include "rtpostgis.h"
 
 /* Get summary stats */