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