PostgreSQL undo 2