[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-70-g56368cedd

git at osgeo.org git at osgeo.org
Tue Aug 29 13:50:37 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  56368ceddf1a2c35122f5c68cf8f8445f18546a7 (commit)
      from  80064b75c6cbef9d54ed8bcbf93984eeb884bd61 (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 56368ceddf1a2c35122f5c68cf8f8445f18546a7
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Aug 29 22:50:10 2023 +0200

    Fix the all-functions view code to skip bugs and complications

diff --git a/regress/hooks/use-all-functions.sql b/regress/hooks/use-all-functions.sql
index b4db13ca4..c195f037a 100644
--- a/regress/hooks/use-all-functions.sql
+++ b/regress/hooks/use-all-functions.sql
@@ -7,17 +7,31 @@ BEGIN
 			array_agg(
 				regexp_replace(
 					regexp_replace(
-						oid::regprocedure::text,
+						regexp_replace(
+							oid::regprocedure::text,
+							'double precision', 'float8'
+						),
 						'\(([^)])',
 						'(NULL::\1'
 					),
 					',',
 					',NULL::',
 					'g'
-				) || ' as f' || oid
+				)
+				||
+				CASE WHEN prokind = 'w' THEN ' OVER()' ELSE '' END
+				|| ' as f' || oid
 			) f
 		FROM pg_catalog.pg_proc
 		WHERE proname like 'st\_%'
+		AND prokind in ('f','w')
+		-- See https://trac.osgeo.org/postgis/ticket/5498 and
+		-- remove when fixed
+		AND proname != 'st_approxquantile'
+		-- We skip functions taking anyelement for now
+		-- as those ones would need us to cast to some
+		-- real type
+		AND proname in ( 'st_asmvt' )
 	LOOP
 		EXECUTE format(
 			'CREATE VIEW postgis_locking_view AS SELECT %s',

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list