minimal cookbook postgres conversion