[postgis-tickets] [SCM] PostGIS branch test-upgrades-in-absence-of-old-library updated. 3.2.0-231-ge978fa376

git at osgeo.org git at osgeo.org
Fri Jan 14 02:43:16 PST 2022


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, test-upgrades-in-absence-of-old-library has been updated
  discards  f9f3697788c4fc9d953815eae15d6c1bf96849c4 (commit)
  discards  22df063f93af51aeb79ffcae297597f8ff1c1d7a (commit)
       via  e978fa3765579bc593dc6e99d3a9f79c364bb620 (commit)
       via  1a3f9e6f9162dde69996b89e6347ec4be68f5c8f (commit)
       via  dd794022afa8924d447702390c6e49c1f52284ca (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (f9f3697788c4fc9d953815eae15d6c1bf96849c4)
            \
             N -- N -- N (e978fa3765579bc593dc6e99d3a9f79c364bb620)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

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 e978fa3765579bc593dc6e99d3a9f79c364bb620
Author: Sandro Santilli <strk at kbt.io>
Date:   Fri Jan 14 11:39:43 2022 +0100

    Run topology and raster --before-upgrade hooks *before* the core ones

diff --git a/raster/test/regress/tests.mk b/raster/test/regress/tests.mk
index db11bdd3e..50d0c11ea 100644
--- a/raster/test/regress/tests.mk
+++ b/raster/test/regress/tests.mk
@@ -12,9 +12,10 @@
 
 override RUNTESTFLAGS := $(RUNTESTFLAGS) --raster
 
-RUNTESTFLAGS_INTERNAL += \
+override RUNTESTFLAGS_INTERNAL := \
   --before-upgrade-script $(topsrcdir)/raster/test/regress/hooks/hook-before-upgrade-raster.sql \
-  --after-upgrade-script  $(topsrcdir)/raster/test/regress/hooks/hook-after-upgrade-raster.sql
+  $(RUNTESTFLAGS_INTERNAL) \
+  --after-upgrade-script $(topsrcdir)/raster/test/regress/hooks/hook-after-upgrade-raster.sql
 
 RASTER_TEST_FIRST = \
 	$(topsrcdir)/raster/test/regress/check_gdal \
diff --git a/topology/test/tests.mk b/topology/test/tests.mk
index 63cfaf20c..8255316c4 100644
--- a/topology/test/tests.mk
+++ b/topology/test/tests.mk
@@ -12,9 +12,10 @@
 
 override RUNTESTFLAGS := $(RUNTESTFLAGS) --topology
 
-RUNTESTFLAGS_INTERNAL += \
+override RUNTESTFLAGS_INTERNAL := \
   --before-upgrade-script $(topsrcdir)/topology/test/regress/hooks/hook-before-upgrade-topology.sql \
-  --after-upgrade-script  $(topsrcdir)/topology/test/regress/hooks/hook-after-upgrade-topology.sql
+  $(RUNTESTFLAGS_INTERNAL) \
+  --after-upgrade-script $(topsrcdir)/topology/test/regress/hooks/hook-after-upgrade-topology.sql
 
 TESTS += \
   $(topsrcdir)/topology/test/regress/addedge.sql \

commit 1a3f9e6f9162dde69996b89e6347ec4be68f5c8f
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu Jan 13 23:57:36 2022 +0100

    Test ugprades in absence of old library
    
    See #5046

diff --git a/regress/hooks/hook-before-upgrade.sql b/regress/hooks/hook-before-upgrade.sql
index 5f4678446..ef48947d9 100644
--- a/regress/hooks/hook-before-upgrade.sql
+++ b/regress/hooks/hook-before-upgrade.sql
@@ -74,3 +74,13 @@ SELECT
 	ST_DWithin(g1::text, g1::text, 1) as text_dwithin,
 	ST_DWithin(g2, g2, 1) as geography_dwithin
 FROM upgrade_test;
+
+-- Break probin of all postgis functions, as we expect
+-- the upgrade procedure to replace them all
+UPDATE pg_proc SET probin = 'nonexistent' WHERE probin like '%postgis%'
+-- Some function have DEFAULT values for GEOMETRY type, which
+-- makes pg_get_function_arguments choke. This should be fixed!
+-- See https://trac.osgeo.org/postgis/ticket/5046#comment:5
+-- When ticket #5046 is fixed we can ALSO break geometry_out
+AND proname NOT IN ( 'geometry_out')
+;

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

Summary of changes:
 doc/po/it_IT/installation.xml.po | 564 +--------------------------------------
 raster/test/regress/tests.mk     |   5 +-
 regress/runtest.mk               |   2 +-
 topology/test/tests.mk           |   5 +-
 4 files changed, 11 insertions(+), 565 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list