projects
/
postgis
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3764213
)
Added accom(geom) aggregate
author
Sandro Santilli
<strk@keybit.net>
Thu, 6 Jan 2005 09:36:45 +0000
(09:36 +0000)
committer
Sandro Santilli
<strk@keybit.net>
Thu, 6 Jan 2005 09:36:45 +0000
(09:36 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1229
b70326c6
-7e19-0410-871a-
916f4a2858ee
lwgeom/lwpostgis.sql.in
patch
|
blob
|
history
diff --git
a/lwgeom/lwpostgis.sql.in
b/lwgeom/lwpostgis.sql.in
index 3017620808ca39b5b251ff73d3c0c39276e06ae8..cc17cb92cf876b3afd351c10ed5eb9199ff52d79 100644
(file)
--- a/
lwgeom/lwpostgis.sql.in
+++ b/
lwgeom/lwpostgis.sql.in
@@
-1646,6
+1646,12
@@
CREATEFUNCTION geom_accum (geometry[],geometry)
AS '@MODULE_FILENAME@', 'LWGEOM_accum'
LANGUAGE 'C';
+CREATE AGGREGATE accum (
+ sfunc = geom_accum,
+ basetype = geometry,
+ stype = geometry[]
+ );
+
CREATEFUNCTION collect_garray (geometry[])
RETURNS geometry
AS '@MODULE_FILENAME@', 'LWGEOM_collect_garray'