]> granicus.if.org Git - postgis/commitdiff
Stamp date of release.
authorRegina Obe <lr@pcorp.us>
Sun, 23 Sep 2018 20:04:42 +0000 (20:04 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 23 Sep 2018 20:04:42 +0000 (20:04 +0000)
Put in legacy stub function for RASTER_to_binary  to allow pg upgrade (newer lib)
Closes #4097

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

NEWS
doc/release_notes.xml
raster/rt_pg/rtpg_inout.c

diff --git a/NEWS b/NEWS
index 2e33420f4195fec4229f6cd23b60b222931c861f..6a95f9849ec752504c97e30238af4b2c8b00dbf1 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
 PostGIS 2.5.0
-2018/09/XX
+2018/09/23
 WARNING: If compiling with PostgreSQL+JIT, LLVM >= 6 is required
 Supported PostgreSQL versions for this release are:
 PostgreSQL 9.4 - PostgreSQL 12 (in development)
index 4bb7c52fad1c1ab324fe95e079f271944962755f..9eef85fb47be182df40adb2678c19c78c16dec5b 100644 (file)
@@ -4,7 +4,7 @@
     <subtitle>Release Notes</subtitle>
     <sect1>
       <title>Release 2.5.0</title>
-      <para>Release date: 2018/09/xx</para>
+      <para>Release date: 2018/09/23</para>
       <para>If compiling with PostgreSQL+JIT, LLVM >= 6 is required</para>
       <para>Supported PostgreSQL versions for this release are:
       PostgreSQL 9.4 - PostgreSQL 12 (in development)
index 5d0dce49757e28e6a2ea70d6b5f0020786c01217..fffad768f7831dd4b68c5211478cb28ebe2b6695 100644 (file)
@@ -37,8 +37,23 @@ Datum RASTER_out(PG_FUNCTION_ARGS);
 
 Datum RASTER_to_bytea(PG_FUNCTION_ARGS);
 
+/** obsolete as of 2.5.0 stubbing for smoother upgrade from 2.4 **/
+Datum RASTER_to_binary(PG_FUNCTION_ARGS);
+
 Datum RASTER_noop(PG_FUNCTION_ARGS);
 
+/**
+ * Legacy return error if called
+ * Removed in PostGIS 2.5.0
+ */
+PG_FUNCTION_INFO_V1(RASTER_to_binary);
+Datum RASTER_to_binary(PG_FUNCTION_ARGS)
+{
+
+       elog(ERROR, "RASTER_to_binary: This function is out of date. Run ALTER EXTENSION postgis UPDATE; to fix");
+
+}
+
 /**
  * Input is Hex WKB
  * Used as the input function of the raster type