set postgres in setting