Search Postgresql Archives

Re: how to best remove version 10 (and keep version 9.5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/13/21 11:00 AM, robert rottermann wrote:
Hi folks

I am running an Ubuntu 18.04 lts remote box.

For some (complicated) reasons I did install PostgreSQL 9.5 alongside the already installed V10 instance.

I did set the data_directory to point some disk  “outside” the standard /etc/postgresql/9.5/main structure.

Now, what I would like to do is to get rid of one of the two installed PostgreSQL versions.

Also there are aliasings like:     /usr/bin/pg_dump -> ../share/postgresql-common/pg_wrapper*

I would like to avoid them if possible.

You are using the Debian/Ubuntu packaging and the above is part of that. Also they are very helpful so you don't want to get rid of them.


Things are running now with version 9.5 so I tend to prefer to keep it.

From your previous post:

root@elfero:~# pg_lsclusters
Ver Cluster Port Status Owner Data directory Log file 9.5 main 5432 online postgres /mnt/HC_Volume_8755337/postgresql/9.5/main /var/log/postgresql/postgresql-9.5-main.log 10 main 5433 down postgres /var/lib/postgresql/10/main /var/log/postgresql/postgresql-10-main.log


So, the 10 instance is not running and the 9.5 instance is listening on the default port. At this point I would leave things as they are.


The whole setup is kind of temporary and will be migrated to the “real thing" during this year. So it is not a problem that the PostgreSQL version is dated.


I would be grateful for your help

robert





--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux