mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 17:12:35 +00:00
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:
parent
c9e428f82e
commit
68735ef511
|
@ -10,8 +10,6 @@
|
|||
#
|
||||
#############################################################################
|
||||
|
||||
.NOTPARALLEL:
|
||||
|
||||
all: @RT_CORE_LIB@ @RT_PG_LIB@ @RT_LOADER@ @RT_POSTGIS_SQL@
|
||||
|
||||
corelib:
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue