adding db restarts pg