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

git at osgeo.org git at osgeo.org
Thu Jan 13 14:59:57 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  0fcd0e48e31ac1e0b2e245eddbd00334d4151c52 (commit)
       via  2abdefdd89ae7fdc0b34de7c4f7a44856cb14f21 (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 (0fcd0e48e31ac1e0b2e245eddbd00334d4151c52)
            \
             N -- N -- N (2abdefdd89ae7fdc0b34de7c4f7a44856cb14f21)

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 2abdefdd89ae7fdc0b34de7c4f7a44856cb14f21
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..faa5fa6d4 100644
--- a/regress/hooks/hook-before-upgrade.sql
+++ b/regress/hooks/hook-before-upgrade.sql
@@ -74,3 +74,14 @@ 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
+AND proname NOT IN (
+	'geometry_out'
+)
+;

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

Summary of changes:
 regress/hooks/hook-before-upgrade.sql | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list