From: Sandro Santilli Date: Tue, 20 Aug 2019 11:38:06 +0000 (+0000) Subject: Add test for postgis_full_version() X-Git-Tag: 3.0.0beta1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9317c1b3311a771223a18f9d5ba5a4eadbbcd873;p=postgis Add test for postgis_full_version() Closes #4485 NOTE: the test is only included in the core tests, might need to be replicated for sfcgal/topology/raster git-svn-id: http://svn.osgeo.org/postgis/trunk@17736 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/regress/core/regress.sql b/regress/core/regress.sql index 145648a85..76e472c76 100644 --- a/regress/core/regress.sql +++ b/regress/core/regress.sql @@ -291,3 +291,8 @@ SELECT regexp_replace(probin, '(rt)?postgis(_[^-]*)?', '') FROM pg_proc WHERE proname = 'postgis_lib_version' ) ORDER BY 2; + + +SELECT 'UNEXPECTED', postgis_full_version() + WHERE postgis_full_version() LIKE '%UNPACKAGED%' + OR postgis_full_version() LIKE '%need upgrade%';