[postgis-tickets] r16714 - Do not include the dot in the version string
Sandro Santilli
strk at kbt.io
Wed Sep 5 02:39:29 PDT 2018
Author: strk
Date: 2018-09-05 14:39:28 -0700 (Wed, 05 Sep 2018)
New Revision: 16714
Modified:
trunk/utils/postgis_proc_upgrade.pl
Log:
Do not include the dot in the version string
Modified: trunk/utils/postgis_proc_upgrade.pl
===================================================================
--- trunk/utils/postgis_proc_upgrade.pl 2018-09-05 16:24:34 UTC (rev 16713)
+++ trunk/utils/postgis_proc_upgrade.pl 2018-09-05 21:39:28 UTC (rev 16714)
@@ -493,8 +493,8 @@
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
More information about the postgis-tickets
mailing list