title: how to get points from linestring postgis
body: <p>I have Linestring (0 0 , 2 4 , 5 5);</p>
  
  <p>I need to output it in the form : </p>
  
  <pre><code>x (1st cell)   ||    y (2nd cell)
  
  0              ||    0
  
  2              ||    4
  
  5              ||    5 
  </code></pre>
  
  <p>And the same for polygon.
  How to do that ?</p>