Re: Upgrading postgresql minor version

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Ron Ben <ronb910(at)walla(dot)co(dot)il>
Cc: Andreas Joseph Krogh <andreas(at)visena(dot)com>, "<pgsql-general(at)postgresql(dot)org>" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Upgrading postgresql minor version
Date: 2017-05-10 16:55:02
Message-ID: CAKFQuwaCdT9k-kxAJ3xv5tLCj29VNy5qQWu6aAx+sG=vnKcmrw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, May 10, 2017 at 9:34 AM, David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> On Wed, May 10, 2017 at 8:13 AM, Ron Ben <ronb910(at)walla(dot)co(dot)il> wrote:
>
>> Not possible
>> https://www.postgresql.org/download/linux/debian/
>>
>> To upgrade I do: apt-get install postgresql-9.3
>> There is no way to "roll back" from here.
>> I can not choose which version to install, it install the latest version
>> packed for debian. Currently its 9.3.16
>>
>> The docuntation says that upgrading minor version is just "replacing the
>> executables", so there has to be a way to save them on the side for roll
>> back.
>>
>
> ​I see that the binaries involved are located under "/usr/​lib/postgresql"
> - in directories matching up with the version-cluster naming scheme the the
> apt packages employ. In theory backing up and restoring the relevant
> directories under there should work. This would only work for minor
> version switching.
>

​My bad - its not cluster specific ... which makes sense as there is no way
to update just individual clusters.

David J.​

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rajesh Mallah 2017-05-10 17:28:30 Re: logging of application level user in audit trigger
Previous Message Adrian Klaver 2017-05-10 16:54:11 Re: character encoding of the postgres database