]> granicus.if.org Git - postgis/commitdiff
PostgreSQL 9.3 changed where heap_form_tuple() is declared. Fixed in
authorBborie Park <bkpark at ucdavis.edu>
Thu, 20 Dec 2012 20:47:23 +0000 (20:47 +0000)
committerBborie Park <bkpark at ucdavis.edu>
Thu, 20 Dec 2012 20:47:23 +0000 (20:47 +0000)
raster and postgis. Ticket #2013.

git-svn-id: http://svn.osgeo.org/postgis/trunk@10885 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/lwgeom_dumppoints.c
raster/rt_pg/rt_pg.c

index 109b3d1f864661d3a9b688189493ec49ed0b3851..6e42daaec0de3d97fc8a4d1dd3d525448141ee10 100644 (file)
@@ -7,6 +7,11 @@
 #include "catalog/pg_type.h"
 #include "funcapi.h"
 
+#include "../postgis_config.h"
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h"
+#endif
+
 #include "liblwgeom.h"
 
 /* ST_DumpPoints for postgis.
index 59dbc50013910a4f3e5053a1c724ba319b6178f2..eac0e3796867436b6570c4ac37e31171146e68a0 100644 (file)
 #include "rt_pg.h"
 #include "pgsql_compat.h"
 
-#include <utils/lsyscache.h> /* for get_typlenbyvalalign */
-#include <utils/array.h> /* for ArrayType */
-#include <catalog/pg_type.h> /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
+#include "utils/lsyscache.h" /* for get_typlenbyvalalign */
+#include "utils/array.h" /* for ArrayType */
+#include "catalog/pg_type.h" /* for INT2OID, INT4OID, FLOAT4OID, FLOAT8OID and TEXTOID */
+
+#if POSTGIS_PGSQL_VERSION > 92
+#include "access/htup_details.h"
+#endif
 
 /* maximum char length required to hold any double or long long value */
 #define MAX_DBL_CHARLEN (3 + DBL_MANT_DIG - DBL_MIN_EXP)