Find Postgres Function Using Graph