Preparing for postgresql starting