Commit 9ad08062 authored by Sandro Santilli's avatar Sandro Santilli

Fix schema support in RT_CreateOveriew

Patch by hypostase
Closes #3615

git-svn-id: http://svn.osgeo.org/postgis/trunk@15078 b70326c6-7e19-0410-871a-916f4a2858ee
parent 72eb00ac
Pipeline #4175936 passed with stage
in 24 minutes and 10 seconds
......@@ -8775,7 +8775,8 @@ BEGIN
PERFORM @extschema@.AddOverviewConstraints(sinfo.sch, ttab, col,
sinfo.sch, sinfo.tab, col, factor);
RETURN ttab;
-- return the schema as well as the table
RETURN sinfo.sch||'.'||ttab;
END;
$$ LANGUAGE 'plpgsql' VOLATILE STRICT;
......
SET client_min_messages TO warning;
CREATE SCHEMA oschm;
SET search_path TO oschm,public;
CREATE TABLE res1 AS SELECT
ST_AddBand(
ST_MakeEmptyRaster(10, 10, x, y, 1, -1, 0, 0, 0)
......@@ -52,3 +55,5 @@ DROP TABLE o_8_res1;
DROP TABLE o_4_res1;
DROP TABLE o_2_res1;
DROP TABLE res1;
DROP SCHEMA oschm;
DISCARD ALL; -- resets change in search_path
......@@ -13,3 +13,4 @@ o_4_res1|r|res1|r|4
o_8_res1|r|res1|r|8
o_16_res1|r|res1|r|16
count|544|136|36|10|3
DISCARD ALL
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment