BEGIN;
BEGIN
SET client_min_messages TO NOTICE;
SET
--q1
SET client_min_messages TO WARNING;
SET
SELECT pgr_labelGraph('edge_table', 'id', 'source', 'target', 'subgraph');
 pgr_labelgraph 
----------------
 OK
(1 row)

SELECT DISTINCT subgraph FROM edge_table ORDER BY subgraph;
 subgraph 
----------
        1
        2
        3
(3 rows)

--q2
ROLLBACK;
ROLLBACK
