[SCM] PostGIS branch master updated. 3.4.0rc1-953-g0fed221e6
git at osgeo.org
git at osgeo.org
Wed Feb 28 10:58:18 PST 2024
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 0fed221e6c3afc73dcb4da1fff20961cf3108b30 (commit)
from 8b3f16a628e9d8f03baed963d3ae3a98b8bfae72 (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 0fed221e6c3afc73dcb4da1fff20961cf3108b30
Author: Sandro Santilli <strk at kbt.io>
Date: Wed Feb 28 19:58:25 2024 +0100
Drop unused code in C version of TopoGeo_addLinestring
We now have a TopoGeo_addLinestringNoFace for use
diff --git a/topology/postgis_topology.c b/topology/postgis_topology.c
index 4e3d8b83a..1c8d21604 100644
--- a/topology/postgis_topology.c
+++ b/topology/postgis_topology.c
@@ -5069,7 +5069,6 @@ Datum TopoGeo_AddLinestring(PG_FUNCTION_ARGS)
FACEEDGESSTATE *state;
Datum result;
LWT_ELEMID id;
- bool skipFace = false;
if (SRF_IS_FIRSTCALL())
{
@@ -5132,17 +5131,8 @@ Datum TopoGeo_AddLinestring(PG_FUNCTION_ARGS)
PG_RETURN_NULL();
}
- if ( PG_NARGS() > 3 ) {
- skipFace = PG_GETARG_BOOL(3);
- }
-
- if ( skipFace ) {
- POSTGIS_DEBUG(1, "Calling lwt_AddLineNoFace");
- elems = lwt_AddLineNoFace(topo, ln, tol, &nelems);
- } else {
- POSTGIS_DEBUG(1, "Calling lwt_AddLine");
- elems = lwt_AddLine(topo, ln, tol, &nelems);
- }
+ POSTGIS_DEBUG(1, "Calling lwt_AddLine");
+ elems = lwt_AddLine(topo, ln, tol, &nelems);
POSTGIS_DEBUG(1, "lwt_AddLine* returned");
lwgeom_free(lwgeom);
PG_FREE_IF_COPY(geom, 1);
-----------------------------------------------------------------------
Summary of changes:
topology/postgis_topology.c | 14 ++------------
1 file changed, 2 insertions(+), 12 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list