Find Postgres Function Using Query Selector