fix search for psql