How to Upgrade PostgreSQL from 9.x to 10 on CentOS / Red Hat?

This is video will show how to upgrade PostgreSQL Database Server from 9.x to 10 on CentOS 7 / Red Hat 7 Here is the commands: // Add the latest repository RPM for your OS // Install PG # yum install postgresql10-server postgresql10-contrib postgresql10-client // Create Postgres 10 data directory: # /usr/pgsql-10/bin/postgresql10-setup initdb // Now you have two data directories, /var/lib/pgsql/10 // and /var/lib/pgsql/9.6 in our case. // Let’s check the ability to upgrade your data // from 9.6 to
Back to Top