From 0b5caaaf42884dca258bf6d05d2bee4f84d2ea2b Mon Sep 17 00:00:00 2001 From: Bborie Park Date: Thu, 13 Jun 2013 15:26:07 +0000 Subject: [PATCH] Fixed handling of schema name when adding overview constraints. Ticket #2359 git-svn-id: http://svn.osgeo.org/postgis/trunk@11544 b70326c6-7e19-0410-871a-916f4a2858ee --- NEWS | 1 + raster/loader/raster2pgsql.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index b71feba65..028fae146 100644 --- a/NEWS +++ b/NEWS @@ -206,6 +206,7 @@ PostGIS 2.1.0 - #2309, Remove confusing INFO message when trying to get SRS info - #2348, Provide raster upgrade path for 2.0 to 2.1 - #2351, st_distance between geographies wrong + - #2359, Fix handling of schema name when adding overview constraints PostGIS 2.0.3 2013/03/01 diff --git a/raster/loader/raster2pgsql.c b/raster/loader/raster2pgsql.c index 8deae828d..f7e154401 100644 --- a/raster/loader/raster2pgsql.c +++ b/raster/loader/raster2pgsql.c @@ -1251,7 +1251,7 @@ add_overview_constraints( rtdealloc(_tmp); _tmp = strreplace(_ovschema, "'", "''", NULL); rtdealloc(_ovschema); - _schema = _tmp; + _ovschema = _tmp; } /* overview table */ -- 2.50.1