[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha1-116-g4d064ba

git at osgeo.org git at osgeo.org
Mon May 11 11:01:14 PDT 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, master has been updated
       via  4d064baf7cf1b61bbf4649af0c8501ec7f286ccf (commit)
      from  5773acadab520baac6cb4fa0598bb107d71bb5de (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 4d064baf7cf1b61bbf4649af0c8501ec7f286ccf
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon May 11 19:59:37 2020 +0200

    edge_id is really a 32bit integer
    
    At least until #3110 is done.
    
    Should fix #4675

diff --git a/topology/postgis_topology.c b/topology/postgis_topology.c
index 0cd5945..abadfb3 100644
--- a/topology/postgis_topology.c
+++ b/topology/postgis_topology.c
@@ -5072,7 +5072,7 @@ Datum GetRingEdges(PG_FUNCTION_ARGS)
 
 
   ret[0] = Int32GetDatum(state->curr);
-  ret[1] = Int64GetDatum(edge_id);
+  ret[1] = Int32GetDatum(edge_id);
   tuple = heap_form_tuple(funcctx->tuple_desc, ret, isnull);
   result = HeapTupleGetDatum(tuple);
 

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

Summary of changes:
 topology/postgis_topology.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list