From: Daniel Baston Date: Wed, 15 Mar 2017 15:10:01 +0000 (+0000) Subject: Avoid making session-level changes to client_min_messages on install X-Git-Tag: 2.4.0alpha~150 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ebaafd4bccb6de346cf7915e88956f38310fd87;p=postgis Avoid making session-level changes to client_min_messages on install git-svn-id: http://svn.osgeo.org/postgis/trunk@15334 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in index aa4839ba0..3ea1a82bc 100644 --- a/postgis/postgis.sql.in +++ b/postgis/postgis.sql.in @@ -20,11 +20,10 @@ #include "sqldefines.h" -SET client_min_messages TO warning; - -- INSTALL VERSION: POSTGIS_LIB_VERSION BEGIN; +SET LOCAL client_min_messages TO warning; -- Check that no other postgis is installed DO $$ diff --git a/raster/rt_pg/rtpostgis.sql.in b/raster/rt_pg/rtpostgis.sql.in index 8cfc6cc36..58b52747e 100644 --- a/raster/rt_pg/rtpostgis.sql.in +++ b/raster/rt_pg/rtpostgis.sql.in @@ -35,11 +35,11 @@ #include "../../postgis/sqldefines.h" -SET client_min_messages TO warning; - -- INSTALL VERSION: POSTGIS_LIB_VERSION BEGIN; +SET LOCAL client_min_messages TO warning; + ------------------------------------------------------------------------------ -- RASTER Type