Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lL9V8-0007B8-F8 for pgsql-general@arkaria.postgresql.org; Sat, 13 Mar 2021 19:00:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lL9V7-0001fT-7a for pgsql-general@arkaria.postgresql.org; Sat, 13 Mar 2021 19:00:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lL9V6-0001fL-WE for pgsql-general@lists.postgresql.org; Sat, 13 Mar 2021 19:00:37 +0000 Received: from susanne.redcor.ch ([178.63.103.72]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lL9V4-0005CC-At for pgsql-general@postgresql.org; Sat, 13 Mar 2021 19:00:35 +0000 Received: from [192.168.0.43] (84-72-41-4.dclient.hispeed.ch [84.72.41.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: robert@redcor.ch) by susanne.redcor.ch (Postfix) with ESMTPSA id 3E2ABA0118 for ; Sat, 13 Mar 2021 20:00:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=redcor.ch; s=201908; t=1615662032; bh=dyCWvCgtqYBsmbFlhy/Y20+OZA+v6h8DkSJeAVxDHVE=; h=To:From:Subject:Date:From; b=liuxPpSANxznl2UOokQ+YCAgHjWxZw6G5klUKztwfs5fw4jMMD00kIBq9nu5BEYPl KkEuO3p2jq5UQwZB1SJQ4fPZDmnKz3BsApPmYsRrp8xLtunG5G33TAX+pn9MZnEgJR eT9JqnxTKiIH+cLFStWRYESqViWMyni9iaqUeQ9qZN/IOh1lP6IUa0q31Xg9GmbVfG mFwVlp1+q4Vfbay9dTloa9E+jwRkd2q+YmMbSCroL5Q8imtNy3xiYQ8jO66U+Gbp3e ra1a6Bhq5CB/hT90sIbDtWYxNhKwtZ9E1Xah5trT7ca0paAomZjYqRo0hyOUDRY/PQ 0/ndVYmI9K7rw== To: "pgsql-general@postgresql.org" From: robert rottermann Subject: how to best remove version 10 (and keep version 9.5) Message-ID: <997ae6a4-0022-8f38-210d-828d75fd7106@redcor.ch> Date: Sat, 13 Mar 2021 20:00:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="------------082828D29C5AF67642D84CAF" Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------082828D29C5AF67642D84CAF Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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. Things are running now with version 9.5 so I tend to prefer to keep it. 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 --------------082828D29C5AF67642D84CAF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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.

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

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



--------------082828D29C5AF67642D84CAF--