]> granicus.if.org Git - postgis/commitdiff
Avoid making session-level changes to client_min_messages on install
authorDaniel Baston <dbaston@gmail.com>
Wed, 15 Mar 2017 15:10:01 +0000 (15:10 +0000)
committerDaniel Baston <dbaston@gmail.com>
Wed, 15 Mar 2017 15:10:01 +0000 (15:10 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@15334 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/postgis.sql.in
raster/rt_pg/rtpostgis.sql.in

index aa4839ba0b5eed88955d0f79215ea07653c605f0..3ea1a82bc6b39e914719d79c75dcd4c11fa0f10d 100644 (file)
 
 #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 $$
index 8cfc6cc36745d1fde190a4c63342d4b5f8e62fb9..58b52747e0538b2b329b7b8120ef2978cdb0f09d 100644 (file)
 
 #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