create postgres db with settings.