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:
parent
e97d350e5a
commit
944bc8c3ff
@ -25,7 +25,7 @@ $f$ LANGUAGE sql IMMUTABLE;
|
|||||||
DO $$
|
DO $$
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'geomval') THEN
|
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,
|
geom geometry,
|
||||||
val double precision
|
val double precision
|
||||||
);
|
);
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
DO $$
|
DO $$
|
||||||
BEGIN
|
BEGIN
|
||||||
IF NOT EXISTS (SELECT 1 FROM pg_type WHERE typname = 'geomval') THEN
|
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,
|
geom geometry,
|
||||||
val double precision
|
val double precision
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user