Move pg related actions to postgres recipe