1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
BEGIN;
BEGIN
SET client_min_messages TO NOTICE;
SET
/* :file: This file is part of the pgRouting project.
:copyright: Copyright (c) 2018-2026 pgRouting developers
:license: Creative Commons Attribution-Share Alike 3.0 https://creativecommons.org/licenses/by-sa/3.0 */
/* -- q1 */
SELECT * FROM pgr_makeConnected(
'SELECT id, source, target, cost, reverse_cost FROM edges'
);
seq | start_vid | end_vid
-----+-----------+---------
1 | 5 | 2
2 | 4 | 13
(2 rows)
/* -- q2 */
ROLLBACK;
ROLLBACK
|