[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-190-g8c04f6000

git at osgeo.org git at osgeo.org
Mon Sep 4 01:15:25 PDT 2023


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  8c04f600036a17d8759b16ac5ba4bc1e1f3f6337 (commit)
      from  5599ab1518b1d406fa82e74d769f0c4916b53aeb (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 8c04f600036a17d8759b16ac5ba4bc1e1f3f6337
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Sep 4 10:14:27 2023 +0200

    Generalize skip list for locking functions

diff --git a/regress/hooks/use-all-functions.sql b/regress/hooks/use-all-functions.sql
index 475a09e23..62d0405ea 100644
--- a/regress/hooks/use-all-functions.sql
+++ b/regress/hooks/use-all-functions.sql
@@ -35,13 +35,13 @@ BEGIN
 		AND proname NOT IN (
 			'st_approxquantile' -- https://trac.osgeo.org/postgis/ticket/5498
 		)
-		-- Skip functions taking polymorphic arguments (anyelement)
-		-- as those ones would need us to cast to some real type.
-		AND proname NOT IN ( 'st_asmvt', 'st_fromflatgeobuf' )
 		-- Skip functions using VARIADIC or OUTPUT arguments
-		AND ( NOT coalesce(proargmodes, '{}') && ARRAY['v'::"char",'o'] )
+		AND ( NOT coalesce(proargmodes, '{}') && ARRAY['v', 'o']::"char"[] )
 		-- Skip function having arguments of internal types
-		AND ( NOT proargtypes::oid[] && ARRAY ['internal'::regtype::oid] )
+		AND ( NOT proargtypes::oid[] && ARRAY ['internal'::regtype]::oid[] )
+		-- Skip function having anyelement return type, to avoid:
+		-- ERROR:  function returning record called in context that cannot accept type record
+		AND ( NOT prorettype = ANY( ARRAY ['anyelement'::regtype] ) )
 	LOOP
 		EXECUTE format(
 			'CREATE VIEW postgis_upgrade_test_data.locking_view AS SELECT %s',

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

Summary of changes:
 regress/hooks/use-all-functions.sql | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list