Changes between Version 7 and Version 8 of UsersWikiplpgsqlfunctions


Ignore:
Timestamp:
Apr 19, 2009, 12:41:32 AM (15 years ago)
Author:
robe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • UsersWikiplpgsqlfunctions

    v7 v8  
    7575
    7676{{{
     77#!sql
    7778Example use: - where the_geom is a multipolygon
    7879 SELECT fnpoly_to_rings(the_geom)
     
    8283 RETURNS geometry AS
    8384 $$
    84  SELECT collect(the_line)  as multiline
     85 SELECT ST_Collect(the_line)  as multiline
    8586 FROM (SELECT ST_ExteriorRing(the_poly) as the_line
    8687        FROM (SELECT ST_GeometryN($1, g.n) As the_poly