#34096: I might came across a bug when updating to the latest version of postgis
------------------------------------------------+------------------------
               Reporter:  spechtx               |          Owner:  (none)
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  contrib.postgres      |        Version:  4.1
               Severity:  Release blocker       |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 this code produces an error:


 {{{
 from django.contrib.gis.db.models.aggregates import Union

 geom =
 instance.location_characteristic.all().aggregate(union=Union('geom'))

 }}}


 {{{
 django.db.utils.NotSupportedError: A stored procedure tried to use
 deprecated C function 'pgis_geometry_union_finalfn'
 DETAIL:  Library function 'pgis_geometry_union_finalfn' was deprecated in
 PostGIS 3.3.0
 HINT:  Consider running: SELECT postgis_extensions_upgrade()
 }}}

 Even downgrading to the last postis version


 {{{
 ALTER EXTENSION postgis UPDATE TO '3.2.3';
 }}}


 doesn't seem to solve the issue...

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34096>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070183d27660de-30a7e055-701a-4726-95ce-ce75c4985b1e-000000%40eu-central-1.amazonses.com.

Reply via email to