pg_escape all the things