Implemented initmodel and persistmodel in PostgreSqlGenerator.