[postgis-tickets] r16835 - Stamp date of release.

Regina Obe lr at pcorp.us
Sun Sep 23 01:04:42 PDT 2018


Author: robe
Date: 2018-09-23 13:04:42 -0700 (Sun, 23 Sep 2018)
New Revision: 16835

Modified:
   branches/2.5/NEWS
   branches/2.5/doc/release_notes.xml
   branches/2.5/raster/rt_pg/rtpg_inout.c
Log:
Stamp date of release.
Put in legacy stub function for RASTER_to_binary  to allow pg upgrade (newer lib)
Closes #4097

Modified: branches/2.5/NEWS
===================================================================
--- branches/2.5/NEWS	2018-09-23 15:03:09 UTC (rev 16834)
+++ branches/2.5/NEWS	2018-09-23 20:04:42 UTC (rev 16835)
@@ -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)

Modified: branches/2.5/doc/release_notes.xml
===================================================================
--- branches/2.5/doc/release_notes.xml	2018-09-23 15:03:09 UTC (rev 16834)
+++ branches/2.5/doc/release_notes.xml	2018-09-23 20:04:42 UTC (rev 16835)
@@ -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)

Modified: branches/2.5/raster/rt_pg/rtpg_inout.c
===================================================================
--- branches/2.5/raster/rt_pg/rtpg_inout.c	2018-09-23 15:03:09 UTC (rev 16834)
+++ branches/2.5/raster/rt_pg/rtpg_inout.c	2018-09-23 20:04:42 UTC (rev 16835)
@@ -37,9 +37,24 @@
 
 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
  */



More information about the postgis-tickets mailing list