[postgis-devel] Aggregate STYPE

Sandro Santilli strk at kbt.io
Tue Mar 6 11:15:30 PST 2018


On Mon, Mar 05, 2018 at 10:21:14AM -0800, Paul Ramsey wrote:
> OK, I think I've done all the due-diligence in
> https://trac.osgeo.org/postgis/ticket/4035

I think the order of the DROPs you added won't work:

  -- Old accum aggregate support type, removed in 2.5.0
  DROP FUNCTION IF EXISTS pgis_abs_in(cstring);
  DROP FUNCTION IF EXISTS pgis_abs_out(pgis_abs);
  DROP TYPE IF EXISTS pgis_abs;

I'd think the first two DROP FUNCTION would raise an exception
about type pgis_abs requiring them (so can't drop). Did you try
the upgrade ?

--strk;


More information about the postgis-devel mailing list