[postgis-tickets] r15334 - Avoid making session-level changes to client_min_messages on install
Daniel Baston
dbaston at gmail.com
Wed Mar 15 08:10:01 PDT 2017
Author: dbaston
Date: 2017-03-15 08:10:01 -0700 (Wed, 15 Mar 2017)
New Revision: 15334
Modified:
trunk/postgis/postgis.sql.in
trunk/raster/rt_pg/rtpostgis.sql.in
Log:
Avoid making session-level changes to client_min_messages on install
Modified: trunk/postgis/postgis.sql.in
===================================================================
--- trunk/postgis/postgis.sql.in 2017-03-12 11:12:36 UTC (rev 15333)
+++ trunk/postgis/postgis.sql.in 2017-03-15 15:10:01 UTC (rev 15334)
@@ -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 $$
Modified: trunk/raster/rt_pg/rtpostgis.sql.in
===================================================================
--- trunk/raster/rt_pg/rtpostgis.sql.in 2017-03-12 11:12:36 UTC (rev 15333)
+++ trunk/raster/rt_pg/rtpostgis.sql.in 2017-03-15 15:10:01 UTC (rev 15334)
@@ -35,12 +35,12 @@
#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
------------------------------------------------------------------------------
More information about the postgis-tickets
mailing list