[postgis-tickets] [SCM] PostGIS branch 3.0-no-default-in-drop-if-needed-signature created. 3.0.4-5-g6287b0999

git at osgeo.org git at osgeo.org
Mon Jan 17 07:27:46 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, 3.0-no-default-in-drop-if-needed-signature has been created
        at  6287b09999f5f033ea8d3257b402fa69e47a3730 (commit)

- Log -----------------------------------------------------------------
commit 6287b09999f5f033ea8d3257b402fa69e47a3730
Author: Sandro Santilli <strk at kbt.io>
Date:   Mon Jan 17 16:25:30 2022 +0100

    Do not include default value in _postgis_drop_if_needed calls

diff --git a/postgis/postgis_before_upgrade.sql b/postgis/postgis_before_upgrade.sql
index 0e841e40e..5fdadad54 100644
--- a/postgis/postgis_before_upgrade.sql
+++ b/postgis/postgis_before_upgrade.sql
@@ -164,7 +164,7 @@ SELECT _postgis_drop_function_if_needed
 SELECT _postgis_drop_function_if_needed
 	(
 	'ST_AsGeoJson',
-	$args$r record, geom_column text DEFAULT ''::text, maxdecimaldigits integer DEFAULT 15, pretty_print boolean DEFAULT false$args$
+	$args$r record, geom_column text, maxdecimaldigits integer, pretty_print boolean$args$
 	);
 
 -- FUNCTION _st_orderingequals changed argument names in 3.0
@@ -183,7 +183,6 @@ SELECT _postgis_drop_function_if_needed
 	'GeometryA geometry, GeometryB geometry'
 	);
 
-
 -- FUNCTION st_askml changed to add defaults in 3.0 / r17357
 -- These signatures were superseeded
 DROP FUNCTION IF EXISTS st_askml(geometry, integer); -- Does not conflict

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list