I'd like to create a vectorLayer in QGIS to display all the points that form a LINESTRING or a MULTILINESTRING stored in a PostGIS DB.
I think that I need to transform all points of LINESTRING (or MULTILINESTRING) to POINT.
First Question:
Is there any PostGIS function to do that?
Second Question:
If I want to exclude duplicate points from the result POINT table, how can I do that?