[SCM] PostGIS branch master updated. 3.5.0-53-g22ad402e3

git at osgeo.org git at osgeo.org
Tue Nov 12 02:41:07 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  22ad402e330e67cc5862b7cb10802edef6cbf4b3 (commit)
       via  26b0218d43918acddea14f982cd00fdea71c096b (commit)
      from  2b7380ec7f2eb0f95b2cbd7bb81674cbda90bd75 (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 22ad402e330e67cc5862b7cb10802edef6cbf4b3
Author: wangdapeng <345731923 at qq.com>
Date:   Sun Nov 3 20:08:52 2024 +0800

    When obtaining a new topology_id, remove unnecessary recursion.

diff --git a/topology/sql/manage/CreateTopology.sql.in b/topology/sql/manage/CreateTopology.sql.in
index c7fe5709a..71fe2c648 100644
--- a/topology/sql/manage/CreateTopology.sql.in
+++ b/topology/sql/manage/CreateTopology.sql.in
@@ -49,10 +49,7 @@ BEGIN
   END IF;
 
   ------ Fetch next id for the new topology
-  FOR rec IN SELECT nextval('topology.topology_id_seq')
-  LOOP
-    topology_id = rec.nextval;
-  END LOOP;
+  topology_id := nextval('topology.topology_id_seq');
 
   sql := format(
     $$

commit 26b0218d43918acddea14f982cd00fdea71c096b
Author: wangdapeng <345731923 at qq.com>
Date:   Thu Oct 24 18:19:41 2024 +0800

    The example SQL for the ST_LineFromMultiPoint function has an extra parenthesis.

diff --git a/doc/reference_constructor.xml b/doc/reference_constructor.xml
index 6ad2bdd61..1201cb62e 100644
--- a/doc/reference_constructor.xml
+++ b/doc/reference_constructor.xml
@@ -157,7 +157,7 @@ SELECT stusps, ST_Collect(f.geom) as geom
 		<title>Examples</title>
 		<para>Create a 3D line string from a 3D MultiPoint</para>
 		<programlisting>
-SELECT ST_AsEWKT(  ST_LineFromMultiPoint('MULTIPOINT(1 2 3, 4 5 6, 7 8 9)')  ));
+SELECT ST_AsEWKT(  ST_LineFromMultiPoint('MULTIPOINT(1 2 3, 4 5 6, 7 8 9)')  );
 
 --result--
 LINESTRING(1 2 3,4 5 6,7 8 9)

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

Summary of changes:
 doc/reference_constructor.xml             | 2 +-
 topology/sql/manage/CreateTopology.sql.in | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list