[postgis-tickets] r17736 - Add test for postgis_full_version()

Sandro Santilli strk at kbt.io
Tue Aug 20 04:38:06 PDT 2019


Author: strk
Date: 2019-08-20 04:38:06 -0700 (Tue, 20 Aug 2019)
New Revision: 17736

Modified:
   trunk/regress/core/regress.sql
Log:
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

Modified: trunk/regress/core/regress.sql
===================================================================
--- trunk/regress/core/regress.sql	2019-08-20 11:37:50 UTC (rev 17735)
+++ trunk/regress/core/regress.sql	2019-08-20 11:38:06 UTC (rev 17736)
@@ -291,3 +291,8 @@
 	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%';



More information about the postgis-tickets mailing list