first pass a PG restore