From: Adrian Klaver <adrian.klaver@aklaver.com>
To: stan <stanb@panix.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Upgrading from V11 to V12 on Debian install
Date: Mon, 2 Dec 2019 12:28:22 -0800
Message-ID: <59ffa165-1513-9da5-4a20-a58ba7d6b9cd@aklaver.com> (raw)
In-Reply-To: <20191202192840.GA22579@panix.com>
References: <20191202192840.GA22579@panix.com>
On 12/2/19 11:28 AM, stan wrote:
> I have several machines that have version 11 instances on them. These are
> all Debian or Ubuntu machines. All of them are pointed to the Postgres
> repositories fro the Postgres binaries
>
> deb http://apt.postgresql.org/pub/repos/apt/ buster-pgdg main
>
> dpkg -l shows:
>
> ii postgresql-11 11.6-1.pgdg100+1
> ii postgresql-12 12.1-1.pgdg100+1
> ii postgresql-client-11 11.6-1.pgdg100+1
> ii postgresql-client-12 12.1-1.pgdg100+1
> ii postgresql-client-common 210.pgdg100+1
> ii postgresql-common 210.pgdg100+1
> ii postgresql-contrib 12+210.pgdg100+1
> ii postgresql-server-dev-11 11.6-1.pgdg100+1
>
>
> Googling around, I found this link:
>
> https://scottlinux.com/2015/11/14/upgrade-postgresql-on-debian-jessie-with-pg_upgradecluster/
>
> I plan on upgrading one of the test instances right away. Is the
> information in this link the best way to do this in a Debian environment? I
> did look at the pg_upgrade documentation, and it looks like I could really
> make a mess if I misunderstand even one step.
Yes as pointed out previously:
https://www.postgresql.org/message-id/20191107161401.GA24371@hjp.at
For more info:
man pg_upgradecluster
>
>
>
>
> "They that would give up essential liberty for temporary safety deserve
> neither liberty nor safety."
> -- Benjamin Franklin
>
>
>
--
Adrian Klaver
adrian.klaver@aklaver.com
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: adrian.klaver@aklaver.com, stanb@panix.com
Subject: Re: Upgrading from V11 to V12 on Debian install
In-Reply-To: <59ffa165-1513-9da5-4a20-a58ba7d6b9cd@aklaver.com>
References: <20191202192840.GA22579@panix.com> <59ffa165-1513-9da5-4a20-a58ba7d6b9cd@aklaver.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox