[postgis-devel] Remove ST_Accum as it is array_agg

Regina Obe lr at pcorp.us
Wed Mar 20 12:33:46 PDT 2019


Hmm I thought we had an additional reason for its existence but I forget what that is (something to do with some exhaustion I ran into with array_agg that I didn't have with ST_Accum), but maybe it's not relevant anymore as it's been a while since I've tried that.

 

BTW have we tested to see what happens if you create a nested array of geometries.  I forget if I ever tried.

 

array_agg from PostgreSQL 9.5+ supports that (at least it does with other arrays), I'm not sure if I ever exercised that with ST_Accum.

 

 

 

From: postgis-devel [mailto:postgis-devel-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: Tuesday, March 19, 2019 7:43 PM
To: PostGIS Development Discussion <postgis-devel at lists.osgeo.org>
Subject: Re: [postgis-devel] Remove ST_Accum as it is array_agg

 

I’m OK w/ that.

P





On Mar 18, 2019, at 10:34 PM, Darafei Komяpa Praliaskouski <me at komzpa.net <mailto:me at komzpa.net> > wrote:

 

Hi,

 

We have ST_Accum. It is the same as array_agg, I believe it was done before postgres had array_agg. All supported Postgres versions now have array_agg - how about removing ST_Accum?

 

-- 

Darafei Praliaskouski

Support me: http://patreon.com/komzpa

_______________________________________________
postgis-devel mailing list
postgis-devel at lists.osgeo.org <mailto:postgis-devel at lists.osgeo.org> 
https://lists.osgeo.org/mailman/listinfo/postgis-devel

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20190320/f10404aa/attachment.html>


More information about the postgis-devel mailing list