BEGIN;
BEGIN
SET client_min_messages TO NOTICE;
SET
--q1
SELECT ST_AsText(pgr_pointsAsPolygon('SELECT id::integer, ST_X(the_geom)::float AS x, ST_Y(the_geom)::float AS y
        FROM edge_table_vertices_pgr'));
                      st_astext                       
------------------------------------------------------
 POLYGON((2 4,3.5 4,4 3,4 2,4 1,2 0,0 2,0.5 3.5,2 4))
(1 row)

--q2
ROLLBACK;
ROLLBACK
