Making postgresql production database