[postgis-tickets] [SCM] PostGIS branch test-upgrades-in-absence-of-old-library updated. 3.2.0-230-gf9f369778
git at osgeo.org
git at osgeo.org
Thu Jan 13 15:54:09 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 25a3a44be586ded725f3112a45e548802a968d24 (commit)
discards 2abdefdd89ae7fdc0b34de7c4f7a44856cb14f21 (commit)
via f9f3697788c4fc9d953815eae15d6c1bf96849c4 (commit)
via 22df063f93af51aeb79ffcae297597f8ff1c1d7a (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 (25a3a44be586ded725f3112a45e548802a968d24)
\
N -- N -- N (f9f3697788c4fc9d953815eae15d6c1bf96849c4)
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 f9f3697788c4fc9d953815eae15d6c1bf96849c4
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')
+;
commit 22df063f93af51aeb79ffcae297597f8ff1c1d7a
Author: Sandro Santilli <strk at kbt.io>
Date: Fri Jan 14 00:43:24 2022 +0100
Put internal RUNTESTFLAGS *before* core ones
For better support we should probably have distinct internal
variables to specify if we want those to be put before or after
diff --git a/regress/runtest.mk b/regress/runtest.mk
index 5df1a3968..4da5f515a 100644
--- a/regress/runtest.mk
+++ b/regress/runtest.mk
@@ -9,7 +9,7 @@ check-regress:
@echo "RUNTESTFLAGS: $(RUNTESTFLAGS)"
@echo "RUNTESTFLAGS_INTERNAL: $(RUNTESTFLAGS_INTERNAL)"
- @$(PERL) $(topsrcdir)/regress/run_test.pl $(RUNTESTFLAGS) $(RUNTESTFLAGS_INTERNAL) $(TESTS)
+ @$(PERL) $(topsrcdir)/regress/run_test.pl $(RUNTESTFLAGS_INTERNAL) $(RUNTESTFLAGS) $(TESTS)
#
# Will now run upgrade test if RUNTESTFLAGS was not already doing that
-----------------------------------------------------------------------
Summary of changes:
regress/hooks/hook-before-upgrade.sql | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list