[postgis-tickets] [SCM] PostGIS branch master updated. 3.4.0rc1-79-g148267b3d

git at osgeo.org git at osgeo.org
Wed Aug 30 05:28: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  148267b3d26d7777f814cea4b7cb8743026e580c (commit)
      from  2cff2490446fea9631a3c5b3ead9332e1e9716d3 (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 148267b3d26d7777f814cea4b7cb8743026e580c
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Aug 30 14:27:35 2023 +0200

    Drop the upgrade test schema before the deprecated functions
    
    Ensures the deprecated functions can be removed safely
    
    References #5497

diff --git a/regress/hooks/hook-after-upgrade.sql b/regress/hooks/hook-after-upgrade.sql
index 9e924fa30..dfa5fc3eb 100644
--- a/regress/hooks/hook-after-upgrade.sql
+++ b/regress/hooks/hook-after-upgrade.sql
@@ -1,3 +1,4 @@
+-- TODO: move all these views and tables under postgis_upgrade_test_data
 DROP VIEW IF EXISTS upgrade_view_test_overlay;
 DROP VIEW IF EXISTS upgrade_view_test_unaryunion;
 DROP VIEW IF EXISTS upgrade_view_test_subdivide;
@@ -9,6 +10,8 @@ DROP VIEW IF EXISTS upgrade_view_test_clusterkmeans;
 DROP VIEW IF EXISTS upgrade_view_test_distance;
 DROP TABLE upgrade_test;
 
+DROP SCHEMA IF EXISTS postgis_upgrade_test_data CASCADE;
+
 -- Drop functions deprecated on upgrade
 DROP FUNCTION IF EXISTS st_force3dz_deprecated_by_postgis_301(geometry);
 DROP FUNCTION IF EXISTS st_force3d_deprecated_by_postgis_301(geometry);
@@ -26,5 +29,3 @@ DROP FUNCTION IF EXISTS st_dwithin_deprecated_by_postgis_300(text,text,float8);
 DROP FUNCTION IF EXISTS st_clusterkmeans_deprecated_by_postgis_302(geometry,integer);
 DROP FUNCTION IF EXISTS st_distance_deprecated_by_postgis_300(geography,geography);
 
-
-DROP SCHEMA IF EXISTS postgis_upgrade_test_data CASCADE;

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

Summary of changes:
 regress/hooks/hook-after-upgrade.sql | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list