PG changed find by sql