ST_Points
Name
ST_Points — Returns a MultiPoint containing the coordinates of a geometry.
Synopsis
    
     geometry
     
      ST_Points
     
     (
    
    geometry
    
     geom
    
    
     )
    
    ;
   
Description
Returns a MultiPoint containing all the coordinates of a geometry. Does not remove points that are repeated in the geometry, including the start and end points of ring geometries. (If this behavior is undesired, duplicates may be removed using ST_RemoveRepeatedPoints ).
To obtain information about the position of each coordinate in the parent geometry use ST_DumpPoints .
M and Z coordinates will be preserved if present.
   
    
   
   This method supports Circular Strings and Curves
  
   
    
   
   This function supports 3d and will not drop the z-index.
  
Availability: 2.3.0