[postgis-tickets] [PostGIS] #5222: extension "postgis_raster" has no installation script nor update path for version "unpackaged"
PostGIS
trac at osgeo.org
Tue Aug 30 16:43:59 PDT 2022
#5222: extension "postgis_raster" has no installation script nor update path for
version "unpackaged"
-----------------------+------------------------------------
Reporter: marc3932 | Owner: robe
Type: patch | Status: new
Priority: blocker | Milestone: PostGIS Packaging
Component: raster | Version: 3.2.x
Resolution: | Keywords: postgis_raster windows
-----------------------+------------------------------------
Comment (by marc3932):
I tried but the upgrade still fails, see details below.
--create an empty file named "postgis--unpackaged.sql" in your
share/extension folder of your PostgreSQL install.
--This file just has text
-- Nothing to do here
--C:\Program Files\PostgreSQL\11\share\extension folder
--And then try your upgrade again.
--SELECT postgis_extensions_upgrade();
NOTICE: Extension postgis_sfcgal is not available or not packagable for
some reason
NOTICE: Packaging extension postgis_raster
ERROR: extension "postgis_raster" has no installation script nor update
path for version "unpackaged"
CONTEXT: SQL statement "CREATE EXTENSION postgis_raster SCHEMA public
VERSION unpackaged;ALTER EXTENSION postgis_raster UPDATE TO "3.2.2""
PL/pgSQL function postgis_extensions_upgrade() line 71 at EXECUTE
SQL state: 22023
--SELECT * FROM pg_available_extensions WHERE name LIKE 'postgis';
"postgis" "3.2.2" "3.2.2" "PostGIS geometry and geography spatial
types and functions"
--only the postgis extension is installed!!!
--CREATE EXTENSION postgis_raster;
ERROR: PostGIS Raster is already installed in schema 'public'CONTEXT:
PL/pgSQL function inline_code_block line 10 at RAISESQL state: P0001
--SELECT postgis_full_version();
"POSTGIS=""3.2.2 3.2.2"" [EXTENSION] PGSQL=""110""
GEOS=""3.10.3-CAPI-1.16.1"" PROJ=""7.2.1"" GDAL=""GDAL 2.2.4, released
2018/03/19 GDAL_DATA not found"" LIBXML=""2.9.9"" LIBJSON=""0.12""
LIBPROTOBUF=""1.2.1"" WAGYU=""0.5.0 (Internal)"" RASTER (raster lib from
""2.5.2 r17328"" need upgrade) [UNPACKAGED!] (raster procs from ""2.5.2
r17328"" need upgrade)"
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5222#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list