Collects all the vertices in the geometry into a MULTIPOINT.
Provided by
The spatial extension (LOAD spatial;).
SQL examples
SELECT ST_Points('LINESTRING(1 1, 2 2)'::GEOMETRY);
-- MULTIPOINT (1 1, 2 2)
--
-- SELECT ST_Points('MULTIPOLYGON Z EMPTY'::GEOMETRY);
-- MULTIPOINT Z EMPTY