Convert linestring to array of points?
<p>I have postgres with postgis and i need to convert linestring to array of points</p>

<p>i already examined with this <a href="https://stackoverflow.com/questions/27035149/postgres-split-linestrings-and-convert">answer</a>, my question is similar, but also i need to aggregate it to array</p>

<p>from this </p>

<pre><code>Linestring((3.584731 60.739211,3.590472 60.738030,3.592740 60.736220))
</code></pre>

<p>to this</p>

<pre><code>["3.584731 60.739211","3.590472 60.738030","3.592740 60.736220"]
</code></pre>

<p>how can i do that?</p>