Postgresql Checkpoint Learning