[postgis-tickets] [PostGIS] #4297: postgis_full_version: Uniformize the log level when the optional extensions aren't installed

PostGIS trac at osgeo.org
Tue Jan 15 01:38:44 PST 2019


#4297: postgis_full_version: Uniformize the log level when the optional extensions
aren't installed
------------------------+---------------------------
 Reporter:  Algunenano  |      Owner:  pramsey
     Type:  defect      |     Status:  new
 Priority:  low         |  Milestone:  PostGIS 3.0.0
Component:  postgis     |    Version:  trunk
 Keywords:              |
------------------------+---------------------------
 After removing `raster` from the core extension, running
 `postgis_full_version` show several NOTICES when it's not installed:

 {{{
 # Select postgis_full_version();
 NOTICE:  Function postgis_gdal_version() not found.  Is raster support
 enabled and rtpostgis.sql installed?
 NOTICE:  Function postgis_raster_scripts_installed() not found. Is raster
 support enabled and rtpostgis.sql installed?
 NOTICE:  Function postgis_raster_lib_version() not found. Is raster
 support enabled and rtpostgis.sql installed?
 postgis_full_version
 ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  POSTGIS="3.0.0dev r17132" [EXTENSION] PGSQL="110" GEOS="3.8.0dev-
 CAPI-1.12.0 d037cb23" PROJ="Rel. 5.2.0, September 15th, 2018"
 LIBXML="2.9.8" LIBJSON="0.13.1" LIBPROTOBUF="1.3.1"
 (1 row)
 }}}

 This doesn't happen when topology isn't installed. Since it's optional, I
 think those NOTICEs should be toned down for raster too.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4297>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list