-- -- path_length/1 -- create or replace function path_length( path ) returns float8 as $$ path_length$$ language plpgsql;