]> granicus.if.org Git - postgis/commitdiff
Added 'unite' aggregate.
authorSandro Santilli <strk@keybit.net>
Thu, 23 Oct 2003 08:06:54 +0000 (08:06 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 23 Oct 2003 08:06:54 +0000 (08:06 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@322 b70326c6-7e19-0410-871a-916f4a2858ee

Attic/postgis_sql_common.sql.in

index f4e98752f40613d071a8df22806c35f865b40798..d471e6b9e7219d37ebb74b279c0860190c22001f 100644 (file)
@@ -12,6 +12,9 @@
 --  
 -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 -- $Log$
+-- Revision 1.17  2003/10/23 08:06:54  strk
+-- Added 'unite' aggregate.
+--
 -- Revision 1.16  2003/10/17 16:07:05  dblasby
 -- made isEmpty() return true/false
 --
@@ -1241,7 +1244,11 @@ CREATE FUNCTION buffer(geometry,float8)
            RETURNS geometry
            AS '@MODULE_FILENAME@','geomunion'
    LANGUAGE 'C' WITH (isstrict);
-   
+
+CREATE AGGREGATE unite (
+       basetype = geometry,
+       sfunc = geomunion,
+       stype = geometry );
 
 
 CREATE FUNCTION relate(geometry,geometry)