Re: Update postgresql via offline mode

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Update postgresql via offline mode
Date: 2026-04-15 12:05:12
Message-ID: CANzqJaCKn_AahetGkZWKJVi6MKyGKqr1JrziquyHt1-SRwQpSw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Wed, Apr 15, 2026 at 3:05 AM Mahendra Singh <msmahendrasingh18(at)gmail(dot)com>
wrote:

> Dear Experts,
>
> Need your expertise here..!
>
> I want to patch my postgresql minor version to the latest minor version.
> How can I do so via offline mode? No need to enable the internet on the
> postgresql server.
> Please advise and suggest a simple and easy solution.
> Like in Oracle or MSSQL servers, just download the update from the
> internet and install on the server.
>

Assuming you use RHEL, manually download the relevant RPMs from these two
directories (where X is the RHEL major version):
https://download.postgresql.org/pub/repos/yum/common/redhat/rhel-*X*-x86_64/
https://download.postgresql.org/pub/repos/yum/${PgMajorVer}/redhat/rhel-*X*
-x86_64/

I automated it with a set of PowerShell scripts (since we have multiple PG
major versions running on multiple RHEL versions). It works like a champ.

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Eduar Flow 2026-04-15 23:42:30 Re: Update postgresql via offline mode
Previous Message Holger Jakobs 2026-04-15 11:15:09 Re: Update postgresql via offline mode