From: Justin Pryzby <pryzby@telsasoft.com>
To: Sudhir Guna <sudhir.guna.sg@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Supported RHEL version for PostgreSQL 11
Date: Sat, 28 Aug 2021 08:01:39 -0500
Message-ID: <20210828130139.GR26465@telsasoft.com> (raw)
In-Reply-To: <CAGedWvMo=wTsM-b3A9VpQTuM8YcwXn=tJXNJgC40AdS5hfrKwA@mail.gmail.com>
References: <CAGedWvPwerh3PSWRWXhb6B=R9WXXDF=PLi9VURcm2p40+9-Ktw@mail.gmail.com>
<20210825171539.GA10479@telsasoft.com>
<CAGedWvMo=wTsM-b3A9VpQTuM8YcwXn=tJXNJgC40AdS5hfrKwA@mail.gmail.com>
On Sat, Aug 28, 2021 at 04:08:33PM +0800, Sudhir Guna wrote:
> The RHEL upgrade from 7.5 to 8.4 is not done as an incremental version
> upgrade rather directly from 7.5.
I think the process should be:
1) upgrade from RH7 to RH8;
2) reindex relevant indexes (see wiki link below);
3) upgrade from postgres 9.6 to 11;
You may need to install updated PGDG packages for the RH8.
How are you planning to upgrade postgres ?
Using pg_upgrade, or pg_dump, or ??
> Postgres is installed using PGDG packages.
>
> On Thu, Aug 26, 2021 at 1:15 AM Justin Pryzby <pryzby@telsasoft.com> wrote:
>
> > On Wed, Aug 25, 2021 at 11:47:57PM +0800, Sudhir Guna wrote:
> > > Hi All,
> > >
> > > I would like to clarify on OS upgrade for PostgreSQL.
> > >
> > > Currently we are on PostgreSQL 9.6 on RHEL 7.5. We would like to do a
> > > direct upgrade from RHEL 7.5 to RHEL 8.4 and then upgrade PostgreSQL 9.6
> > to
> > > PostgreSQL 11.
> > >
> > > Is it ok to do a direct upgrade from RHEL 7.5 to RHEL 8.4
> >
> > Please describe what you mean by a "direct upgrade" ?
> >
> > You should be careful, since the sort order of indexes can change:
> > https://wiki.postgresql.org/wiki/Locale_data_changes
> > | Version 8 uses the new locale data. Therefore, caution will be necessary
> > when upgrading.
> >
> > > Is PostgreSQL 11 compatible with RHEL 8.4
> >
> > How did you install postgres ?
> > Compiled from source ?
> > Using RHEL packages ?
> > Using PGDG packages ?
> >
> > PDDG has pacakges for PG11/RH8
> > https://yum.postgresql.org/rpmchart/#pg11
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: pryzby@telsasoft.com, sudhir.guna.sg@gmail.com
Subject: Re: Supported RHEL version for PostgreSQL 11
In-Reply-To: <20210828130139.GR26465@telsasoft.com>
References: <CAGedWvPwerh3PSWRWXhb6B=R9WXXDF=PLi9VURcm2p40+9-Ktw@mail.gmail.com> <20210825171539.GA10479@telsasoft.com> <CAGedWvMo=wTsM-b3A9VpQTuM8YcwXn=tJXNJgC40AdS5hfrKwA@mail.gmail.com> <20210828130139.GR26465@telsasoft.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