R: Update postgresql via offline mode

From: Gianfranco Cocco <Gianfranco(dot)Cocco(at)vargroup(dot)com>
To: Mahendra Singh <msmahendrasingh18(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: R: Update postgresql via offline mode
Date: 2026-04-15 07:27:26
Message-ID: PAVPR02MB91342346BDAD7F5F1E48B146F4222@PAVPR02MB9134.eurprd02.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,
You can download from repository https://download.postgresql.org/pub/repos/yum/ the software that you need and transfer them to your server.
After that you can shutdown postgreSQL instance and launch the upgrade:

For example:

dnf install \
postgresql1xxxPGDG.rhelxx.x86_64.rpm \
postgresql1x-server-1x.x-1PGDG.rhelxx.x86_64.rpm \
postgresql1x-libs-1x.x-1PGDG.rhelx.x.x86_64.rpm \
.....rpm                    \
.....rpm                    \
--allowerasing

--allowerasing ==> replace only binaries related to the same family.

Good work.
Regards,

Gianfranco

Gianfranco Cocco
​vargroup.com
Questo messaggio è stato spedito da Var Group S.p.A. o da una delle
​aziende del Gruppo. Esso, e gli eventuali allegati, potrebbero contenere
​informazioni di carattere estremamente riservato e confidenziale.
​Qualora non foste i destinatari designati, vogliate cortesemente
​informarci immediatamente con lo stesso mezzo ed eliminare il
​messaggio e i relativi eventuali allegati, senza trattenerne copia.

________________________________
Da: Mahendra Singh <msmahendrasingh18(at)gmail(dot)com>
Inviato: mercoledì 15 aprile 2026 09:05
A: pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Oggetto: Update postgresql via offline mode

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.

Regards,
Mahendra Singh
DBA(at)DXB

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Holger Jakobs 2026-04-15 08:59:24 Re: Update postgresql via offline mode
Previous Message Mahendra Singh 2026-04-15 07:05:59 Update postgresql via offline mode