From 6ebaafd4bccb6de346cf7915e88956f38310fd87 Mon Sep 17 00:00:00 2001 From: Daniel Baston Date: Wed, 15 Mar 2017 15:10:01 +0000 Subject: [PATCH] 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 --- postgis/postgis.sql.in | 3 +-- raster/rt_pg/rtpostgis.sql.in | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) 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 -- 2.50.1