]> granicus.if.org Git - postgis/commitdiff
Do not include the dot in the version string
authorSandro Santilli <strk@kbt.io>
Wed, 5 Sep 2018 21:39:28 +0000 (21:39 +0000)
committerSandro Santilli <strk@kbt.io>
Wed, 5 Sep 2018 21:39:28 +0000 (21:39 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16714 b70326c6-7e19-0410-871a-916f4a2858ee

utils/postgis_proc_upgrade.pl

index 148ec535f3824a1e623959b70d03e62ddd24369c..e91a93a0f1e4bfffe0ccf46db98fa9f31096d3cb 100755 (executable)
@@ -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