Fixes to make sure PostgreSQL version > 9.2 compile without warnings

git-svn-id: http://svn.osgeo.org/postgis/trunk@11720 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
Bborie Park 2013-08-02 20:56:33 +00:00
parent c9e428f82e
commit 68735ef511
7 changed files with 31 additions and 2 deletions

View file

@ -10,8 +10,6 @@
#
#############################################################################
.NOTPARALLEL:
all: @RT_CORE_LIB@ @RT_PG_LIB@ @RT_LOADER@ @RT_POSTGIS_SQL@
corelib:

View file

@ -36,6 +36,12 @@
#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 */

View file

@ -36,6 +36,12 @@
#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"

View file

@ -37,6 +37,11 @@
#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"

View file

@ -35,6 +35,12 @@
#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 */

View 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

View file

@ -37,6 +37,12 @@
#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 */