From 62ee0569176c26d89bec60e772948d0eb3f0f82c Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 5 Sep 2018 21:39:28 +0000 Subject: [PATCH] Do not include the dot in the version string git-svn-id: http://svn.osgeo.org/postgis/trunk@16714 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/postgis_proc_upgrade.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/postgis_proc_upgrade.pl b/utils/postgis_proc_upgrade.pl index 148ec535f..e91a93a0f 100755 --- a/utils/postgis_proc_upgrade.pl +++ b/utils/postgis_proc_upgrade.pl @@ -493,8 +493,8 @@ BEGIN SELECT into old_scripts MODULE_scripts_installed(); END; SELECT into new_scripts 'NEWVERSION'; - SELECT into old_maj substring(old_scripts from 1 for 2); - SELECT into new_maj substring(new_scripts from 1 for 2); + SELECT into old_maj substring(old_scripts from 1 for 1); + SELECT into new_maj substring(new_scripts from 1 for 1); -- 2.x to 3.x was upgrade-compatible, see -- https://trac.osgeo.org/postgis/ticket/4170#comment:1 -- 2.40.0