R: Update postgresql via offline mode - Mailing list pgsql-admin

From Gianfranco Cocco
Subject R: Update postgresql via offline mode
Date
Msg-id PAVPR02MB91342346BDAD7F5F1E48B146F4222@PAVPR02MB9134.eurprd02.prod.outlook.com
Whole thread
In response to Update postgresql via offline mode  (Mahendra Singh <msmahendrasingh18@gmail.com>)
Responses Re: Update postgresql via offline mode
List 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@gmail.com>
Inviato: mercoledì 15 aprile 2026 09:05
A: pgsql-admin <pgsql-admin@lists.postgresql.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@DXB
Attachment

pgsql-admin by date:

Previous
From: Mahendra Singh
Date:
Subject: Update postgresql via offline mode
Next
From: Holger Jakobs
Date:
Subject: Re: Update postgresql via offline mode