![]() Stop the service $ sudo service postgresql.Find the running Postgresql service using $ sudo systemctl list-units | grep postgres.Step - 2 ( Stop the existing/source Postgresql server) Log in to Postgresql database as postgres user.Postgresql Upgrade using pg_upgrade Step - 1 (Find the locale language and encoding of source Postgresql server) ![]() Step 3: Now run the below command to check for the PostgreSQL version: SELECT version () Last Updated : 24 Sep, 2021. Step 2: Now use the below command to enter the PostgreSQL shell: psql. if you have installed on redhat centos based systems you can do below to uninstall ansible cleanly and similar command for ubuntu debian based systems. PS: Feel free to comment your issues, suggestions or anyother modifications you would like to suggest For that follow the below steps: Step 1: Open the terminal and run the below command to log into PostgreSQL server: sudo su postgres. The PostgreSQL version may be older than those found. NOTE: Change the nf and pg_hba.conf as per your requirement Both CentOS and Fedora provide versions of PostgreSQL server as packages within their default repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |