reverting capture code's removal of pg entirely which was used for creating the db table