OUpdated to use postgres everwhere:wq:q:w:q!