Create the type geomval in the extension schema

Having it as public.geomval means that we would block ourselves from installing `postgis_raster` if this extension is installed.
This commit is contained in:
manmorjim 2020-03-02 09:09:10 +01:00
parent e97d350e5a
commit 944bc8c3ff
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ $f$ LANGUAGE sql IMMUTABLE;
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'geomval') THEN
CREATE TYPE geomval AS (
CREATE TYPE cdb_dataservices_client.geomval AS (
geom geometry,
val double precision
);

View File

@ -3,7 +3,7 @@
DO $$
BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'geomval') THEN
CREATE TYPE geomval AS (
CREATE TYPE cdb_dataservices_server.geomval AS (
geom geometry,
val double precision
);