]> granicus.if.org Git - postgis/commitdiff
Also test unexpected probin in sfcgal
authorSandro Santilli <strk@kbt.io>
Tue, 9 Jan 2018 17:51:22 +0000 (17:51 +0000)
committerSandro Santilli <strk@kbt.io>
Tue, 9 Jan 2018 17:51:22 +0000 (17:51 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@16236 b70326c6-7e19-0410-871a-916f4a2858ee

regress/sfcgal/regress.sql

index b23425a95140537fbf4a1e991da171db20b7ab35..4a38d8823c91e4f79db5a9410ee366b4c55a8fa8 100644 (file)
@@ -289,3 +289,14 @@ select '181', ST_AsText('GEOMETRYCOLLECTION(TRIANGLE EMPTY,TIN EMPTY)');
 
 -- Drop test table
 DROP table test;
+
+-- Make sure all postgis-referencing probin are using the module
+-- version expected by postgis_lib_version()
+--
+SELECT distinct 'unexpected probin', proname || ':' || probin
+FROM pg_proc
+WHERE probin like '%postgis%'
+       AND probin NOT LIKE '%' ||
+               substring(postgis_lib_version() from '([0-9]*\.[0-9]*)')
+               || '%'
+ORDER BY 2;