Commit postgres