#4340 closed defect (fixed)
ST_Union of 2GB of simple boxes not allowed
Reported by: | komzpa | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.0.0 |
Component: | postgis | Version: | 2.4.x |
Keywords: | Cc: |
Description
ST_Union collects an array that is too long. Instead of failing here it could have unioned what's available already, pushed into one object and continue collecting.
[2019-03-06 18:50:46] [54000] ERROR: array size exceeds the maximum allowed (1073741823)
Change History (5)
comment:1 by , 6 years ago
Milestone: | PostGIS 2.5.2 → PostGIS 3.0.0 |
---|
comment:2 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
NOTE: this change likely broke upgrades in presence of views using ST_Union. Please see https://git.osgeo.org/gitea/postgis/postgis/pulls/30
comment:4 by , 6 years ago
This build shows the problem on upgrade: https://dronie.osgeo.org/postgis/postgis/241/3/2
That is:
psql:/drone/src/regress/00-regress-install/share/contrib/postgis/postgis_upgrade.sql:3654: ERROR: cannot drop function st_union(geometry) because other objects depend on it
Note:
See TracTickets
for help on using tickets.
In 17398: