شما یک بار کامل postgresql را پاک کنید و دوباره نصب کنید

پاک کردن

کد:
yum remove postgresql postgresql-server postgresql-python -y