Changes between Initial Version and Version 1 of Ticket #2841, comment 10


Ignore:
Timestamp:
09/07/16 08:25:20 (8 years ago)
Author:
dbaston

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2841, comment 10

    initial v1  
    1616        points[i] := ST_Translate(center, r*sin(i*theta), r*cos(i*theta));
    1717    END LOOP;
    18     RETURN ST_MakeLine(points);
     18    RETURN ST_MakePolygon(ST_MakeLine(points));
    1919END;
    2020$$ LANGUAGE PLPGSQL;