postgresql purposing cookbook for joyent instances