Completely replace acid-state with postgres.