[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. 908f288c2b47f5ef46a7600b3b6445a9ac92f29c

git at osgeo.org git at osgeo.org
Sat Feb 8 20:31:00 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.0 has been updated
       via  908f288c2b47f5ef46a7600b3b6445a9ac92f29c (commit)
      from  0c190406e5edf3050c2883cc378e628fbdf26d3e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 908f288c2b47f5ef46a7600b3b6445a9ac92f29c
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Feb 8 23:30:54 2020 -0500

    Fix snprintf raster to expect string. References #4637 for PostGIS 3.0.1

diff --git a/raster/rt_pg/rtpg_utility.c b/raster/rt_pg/rtpg_utility.c
index 916d05c..017d265 100644
--- a/raster/rt_pg/rtpg_utility.c
+++ b/raster/rt_pg/rtpg_utility.c
@@ -50,7 +50,7 @@ Datum RASTER_lib_version(PG_FUNCTION_ARGS)
     char ver[64];
     text *result;
 
-    snprintf(ver, 64, "%s r%d", POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
+    snprintf(ver, 64, "%s %s", POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
     ver[63] = '\0';
 
     result = cstring_to_text(ver);

-----------------------------------------------------------------------

Summary of changes:
 raster/rt_pg/rtpg_utility.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list