[SCM] PostGIS branch master updated. 3.7.0rc1-31-g3ad40ec15
git at osgeo.org
git at osgeo.org
Mon Sep 7 05:24:01 PDT 2026
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 3ad40ec15db646e492a730c5d9fa40567b82706a (commit)
via 3e8e62832bc1ff99be9740e7523011e3b1dfbc24 (commit)
from c0793ca1e25eba653a5cc500f600daa9fd936f68 (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 3ad40ec15db646e492a730c5d9fa40567b82706a
Merge: c0793ca1e 3e8e62832
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Mon Sep 7 05:24:00 2026 -0700
Merge pull request 'Report actual face-update count when removing topology edges' (!770) from Komzpa/postgis:codex/postgis-1177-20260907 into master
Report the actual face-update count when _lwt_RemEdge() receives an
unexpected result from lwt_be_updateFacesById(). The error message
previously printed an unrelated loop variable.
Patch by Egor Ivkov.
Closes https://github.com/postgis/postgis/pull/1177
Reviewed-on: https://gitea.osgeo.org/postgis/postgis/pulls/770
commit 3e8e62832bc1ff99be9740e7523011e3b1dfbc24
Author: Egor Ivkov <e.ivkov at arenadata.io>
Date: Mon Aug 31 16:58:12 2026 +0300
_lwt_RemEdge: report the value the backend returned
The unexpected-result branch printed the loop variable i, which at that
point holds an unrelated edge/face id, instead of the number of faces
lwt_be_updateFacesById() reported as updated. The sibling insertFaces
branch a few lines below already reports result with %d.
diff --git a/liblwgeom/topo/lwgeom_topo.c b/liblwgeom/topo/lwgeom_topo.c
index 11fed9091..0ae5d883b 100644
--- a/liblwgeom/topo/lwgeom_topo.c
+++ b/liblwgeom/topo/lwgeom_topo.c
@@ -4396,7 +4396,7 @@ _lwt_RemEdge( LWT_TOPOLOGY* topo, LWT_ELEMID edge_id, int modFace )
if (result != 1)
{
_lwt_release_edges(edge, 1);
- lwerror("Unexpected error: %" PRIu64 " faces updated when expecting 1", i);
+ lwerror("Unexpected error: %d faces updated when expecting 1", result);
return -1;
}
}
-----------------------------------------------------------------------
Summary of changes:
liblwgeom/topo/lwgeom_topo.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list