[postgis-tickets] r16243 - Do not assume CREATE OPERATOR CLASS needs to end with '); '
Sandro Santilli
strk at kbt.io
Tue Jan 9 10:41:25 PST 2018
Author: strk
Date: 2018-01-09 10:41:25 -0800 (Tue, 09 Jan 2018)
New Revision: 16243
Modified:
branches/2.3/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.3/utils/postgis_proc_upgrade.pl
===================================================================
--- branches/2.3/utils/postgis_proc_upgrade.pl 2018-01-09 18:40:52 UTC (rev 16242)
+++ branches/2.3/utils/postgis_proc_upgrade.pl 2018-01-09 18:41:25 UTC (rev 16243)
@@ -475,7 +475,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