[PostGIS] #5650: debbie showing failure on upgrade - ERROR: cannot drop operator @(geometry, geometry) because other objects depend on it (enforce_max_extent_rast_

PostGIS trac at osgeo.org
Tue Dec 26 21:04:13 PST 2023


#5650: debbie showing failure on upgrade - ERROR:  cannot drop operator
@(geometry,geometry) because other objects depend on it
(enforce_max_extent_rast_
----------------------+---------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  new
  Priority:  blocker  |  Milestone:  PostGIS 3.4.2
 Component:  raster   |    Version:  3.4.x
Resolution:           |   Keywords:
----------------------+---------------------------
Comment (by robe):

 actually the PG17 error is different


 {{{
 echo 'BEGIN;' > rtpostgis_upgrade.sql
 cat ../../postgis/common_before_upgrade.sql rtpostgis_upgrade_cleanup.sql
 rtpostgis_upgrade.sql.in rtpostgis_drop.sql
 ../../postgis/common_after_upgrade.sql | sed -e 's/^BEGIN;$//' -e
 's/^COMMIT;$//' >> rtpostgis_upgrade.sql
 echo 'COMMIT;' >> rtpostgis_upgrade.sql
 lwgeom_pg.c: In function 'postgis_guc_find_option':
 lwgeom_pg.c:503:22: error: unused variable 'key' [-Werror=unused-variable]
   503 |         const char **key = &name;
 }}}

 That one is definitely caused by my commit.  I'm gong to revert that
 commit and if it works analyze it closer
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5650#comment:2>
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