Postgresql wrapper cookbook for Martini Software