public inbox for [email protected]  
help / color / mirror / Atom feed
From: Gautham Raj <[email protected]>
To: Tom Lane <[email protected]>
Cc: [email protected]
Subject: Re: Postgres Version want to update from 9.2 to 9.5 version in CentOS 7.9
Date: Fri, 28 Apr 2023 23:40:09 +0530
Message-ID: <CAHByZMCoUVwPDcV4yJNwLOE-rT_Nd04DxdndC+aFAL9EGAKmNg@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAHByZMCa4JHJNcZ24rJ_Y3fRBi0=J9XvGNym1hMjFbRzHGWgVA@mail.gmail.com>
	<[email protected]>

Thank you for the quick response.

Yes, I'm willing to get the latest version. I read some articles CentOS 7
doesn't support the latest versions. So was trying the old versions.

I tried the article shared but, got the below error at the step.

[image: image.png]
Something is wrong here.

Please suggest the steps for resolving this issue.

Thanks & Regards,
Gautham

On Fri, Apr 28, 2023 at 10:08 PM Tom Lane <[email protected]> wrote:

> Gautham Raj <[email protected]> writes:
> > *Problem: Having multiple versions of Postgres installed in CentOS 7. I
> > Want to set the 9.5 version as default. Not able to access Postgres 9.5
> > through the terminal as well.*
>
> >    1. For Command *psql --version* I'm getting 9.5 as the version.
> >    2. For Command *sudo -u postgres psql *I'm getting 9.2 as the version.
>
> You'd need to read up on Red Hat's "SCL" packaging system to understand
> how to use that rh-postgresql95 package.  SCL is since my time there,
> but I'm pretty sure it's intentional that it's not in the default PATH.
>
> But TBH, all the versions available from Red Hat for RHEL7/CentOS7 are
> out of support as far as the upstream community is concerned; to us it's
> pretty mystifying why you'd be trying to migrate to an already-years-dead
> release branch.  I'd suggest getting some more modern release from
> https://www.postgresql.org/download/
>
>                         regards, tom lane
>


Attachments:

  [image/png] image.png (88.5K, ../CAHByZMCoUVwPDcV4yJNwLOE-rT_Nd04DxdndC+aFAL9EGAKmNg@mail.gmail.com/3-image.png)
  download | view image

view thread (3+ messages)

reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Postgres Version want to update from 9.2 to 9.5 version in CentOS 7.9
  In-Reply-To: <CAHByZMCoUVwPDcV4yJNwLOE-rT_Nd04DxdndC+aFAL9EGAKmNg@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox