From d0b4ad70b18c67866af25be6b80532e51648f1e3 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 11 Sep 2018 09:19:46 +0000 Subject: [PATCH] Report raster extension status from postgis_full_version() git-svn-id: http://svn.osgeo.org/postgis/trunk@16745 b70326c6-7e19-0410-871a-916f4a2858ee --- postgis/postgis.sql.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in index 1efa103ec..3be0140cb 100644 --- a/postgis/postgis.sql.in +++ b/postgis/postgis.sql.in @@ -3007,6 +3007,12 @@ BEGIN IF rast_lib_ver != relproc THEN fullver = fullver || ' (raster lib from "' || rast_lib_ver || '" need upgrade)'; END IF; + IF core_is_extension AND NOT EXISTS ( + SELECT * FROM pg_catalog.pg_extension + WHERE extname = 'postgis_raster') + THEN + fullver = fullver || ' [UNPACKAGED!]'; + END IF; END IF; IF rast_scr_ver IS NOT NULL AND rast_scr_ver != relproc THEN -- 2.40.0