[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-696-g5a8528e77

git at osgeo.org git at osgeo.org
Tue Oct 17 14:07:28 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  5a8528e775d15538898d6483c81052ca1df72607 (commit)
      from  cc1607004b6b6ff6437b1e9a7708e1198c74af88 (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 5a8528e775d15538898d6483c81052ca1df72607
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Oct 17 23:06:54 2023 +0200

    Propery drop st_approxquantile signatures deprecated in 3.1
    
    References #5578 in master branch (3.5.0dev)

diff --git a/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in b/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in
index 4eb95a95e..3f7ed38b7 100644
--- a/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in
+++ b/raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in
@@ -287,13 +287,19 @@ SELECT _postgis_drop_function_by_signature('st_approxquantile(raster, double pre
 SELECT _postgis_drop_function_by_signature('st_quantile(text, text, int, boolean, double precision[])');
 SELECT _postgis_drop_function_by_signature('st_quantile(text, text, int, double precision[])');
 SELECT _postgis_drop_function_by_signature('st_quantile(text, text, double precision[])');
+SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, double precision)', '3.1.0'); -- See https://trac.osgeo.org/postgis/ticket/5578
+SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, boolean, double precision)', '3.1.0'); -- See https://trac.osgeo.org/postgis/ticket/5578
+SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, double precision, double precision)', '3.1.0'); -- See https://trac.osgeo.org/postgis/ticket/5578
+SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, integer, double precision, double precision)', '3.1.0'); -- See https://trac.osgeo.org/postgis/ticket/5578
+SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, integer, boolean, double precision, double precision)', '3.1.0'); -- See https://trac.osgeo.org/postgis/ticket/5578
 SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, int, boolean, double precision, double precision[])');
 SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, int, double precision, double precision[])');
 SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, double precision, double precision[])');
 SELECT _postgis_drop_function_by_signature('st_approxquantile(text, text, double precision[])');
+
 SELECT _postgis_drop_function_by_signature('_st_quantile(raster, int, boolean, double precision, double precision[])');
 SELECT _postgis_drop_function_by_signature('_st_quantile(text, text, int, boolean, double precision, double precision[])');
--- this cannot be drop until the quantile deprecated functions are gon
+-- this cannot be drop until the quantile deprecated functions are gone
 DROP TYPE IF EXISTS quantile;
 
 -- remove TYPE valuecount

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

Summary of changes:
 raster/rt_pg/rtpostgis_upgrade_cleanup.sql.in | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list