[SCM] PostGIS branch master updated. 3.5.0-422-g7e8f5920e

git at osgeo.org git at osgeo.org
Thu Jul 3 11:29:52 PDT 2025


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  7e8f5920e3fccf79246fae15f970a834065ba0bc (commit)
      from  be19a34b4f785e7ba8f583177f95228d1e67b335 (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 7e8f5920e3fccf79246fae15f970a834065ba0bc
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Jul 3 20:29:19 2025 +0200

    Create some topology data during upgrade

diff --git a/topology/test/regress/hooks/hook-before-upgrade-topology.sql b/topology/test/regress/hooks/hook-before-upgrade-topology.sql
index 9c5529f7e..fc2ffb1e8 100644
--- a/topology/test/regress/hooks/hook-before-upgrade-topology.sql
+++ b/topology/test/regress/hooks/hook-before-upgrade-topology.sql
@@ -1,2 +1,15 @@
 SELECT topology.createTopology('upgrade_test');
 
+-- Create some TopoGeometry data
+CREATE TABLE upgrade_test.feature(id serial primary key);
+SELECT topology.AddTopoGeometryColumn('upgrade_test', 'upgrade_test', 'feature', 'tg', 'linear');
+INSERT INTO upgrade_test.feature(tg) SELECT topology.toTopoGeom('LINESTRING(0 0, 10 0)', 'upgrade_test', 1);
+CREATE INDEX ON upgrade_test.feature ( id(tg) );
+
+-- Create some TopoGeometry data
+CREATE TABLE upgrade_test.domain_test(a topology.topoelement, b topology.topoelementarray);
+INSERT INTO upgrade_test.domain_test values (
+  '{1,2}'::topology.topoelement,
+  '{{2,3}}'::topology.topoelementarray
+);
+

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

Summary of changes:
 .../test/regress/hooks/hook-before-upgrade-topology.sql     | 13 +++++++++++++
 1 file changed, 13 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list