[postgis-tickets] r16240 - Do not assume CREATE OPERATOR CLASS needs to end with '); '
Sandro Santilli
strk at kbt.io
Tue Jan 9 10:36:18 PST 2018
Author: strk
Date: 2018-01-09 10:36:18 -0800 (Tue, 09 Jan 2018)
New Revision: 16240
Modified:
branches/2.4/utils/postgis_proc_upgrade.pl
Log:
Do not assume CREATE OPERATOR CLASS needs to end with ');'
A single ending semicolon is enough to terminate the statement
Modified: branches/2.4/utils/postgis_proc_upgrade.pl
===================================================================
--- branches/2.4/utils/postgis_proc_upgrade.pl 2018-01-09 18:36:02 UTC (rev 16239)
+++ branches/2.4/utils/postgis_proc_upgrade.pl 2018-01-09 18:36:18 UTC (rev 16240)
@@ -412,7 +412,7 @@
}
$subcomment = '';
}
- last if /\);/;
+ last if /;$/;
}
$opctype =~ tr/A-Z/a-z/;
$opcidx =~ tr/A-Z/a-z/;
More information about the postgis-tickets
mailing list