﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
34096	I might came across a bug when updating to the latest version of postgis	spechtx		"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..."	Cleanup/optimization	closed	contrib.postgres	4.1	Normal	invalid			Unreviewed	0	0	0	0	0	0
