convert to PG locally