Converting postgres polygon into points
When working with Postgres and dealing with geometric data types, you may encounter situations where you need to convert a polygon into its constituent points. I was unable to find a straightforward function to achieve this, so I used some hacky string replace operations to extract the points from a polygon.
