[postgis-tickets] [PostGIS] #4386: [upgrade] ERROR: cannot drop function st_union(geometry) because other objects depend on it

PostGIS trac at osgeo.org
Thu Mar 5 02:58:32 PST 2020


#4386: [upgrade] ERROR: cannot drop function st_union(geometry) because other
objects depend on it
------------------------------------+---------------------------
  Reporter:  strk                   |      Owner:  komzpa
      Type:  defect                 |     Status:  reopened
  Priority:  blocker                |  Milestone:  PostGIS 3.0.0
 Component:  build/upgrade/install  |    Version:  master
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by strk):

 Being a long-standing bug, I guess we could _change_ the test to _only_
 create an ST_Union based view IFF coming from PostGIS 2.5 or higher. How
 would you like that ?

 Or, we find a way to change aggregate definitions by touching PG catalogs
 (when NOT using PostgreSQL 12, which supports CREATE OR REPLACE)

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4386#comment:19>
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