Answer the question
In order to leave comments, you need to log in
How to fix raster does not exists error?
Hello. I'm trying to add a field of type "raster" to an existing table, but I'm getting the error "ERROR: type "raster" does not exist".
Postgres version 12.1, installed extension postgis. macOS version 10.15.2 Add request
BEGIN;
--
-- Add field extra_raster to worldborder
--
ALTER TABLE "world_worldborder" ADD COLUMN "extra_raster" raster NULL;
CREATE INDEX "world_worldborder_extra_raster_id" ON "world_worldborder"USING GIST (ST_ConvexHull("extra_raster"));
COMMIT;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question