Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vXeL9-000PYu-2C for pgsql-admin@arkaria.postgresql.org; Mon, 22 Dec 2025 11:44:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vXeL7-00EXoX-0f for pgsql-admin@arkaria.postgresql.org; Mon, 22 Dec 2025 11:44:37 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vXeL6-00EXoG-25 for pgsql-admin@lists.postgresql.org; Mon, 22 Dec 2025 11:44:37 +0000 Received: from mail-yx1-xb129.google.com ([2607:f8b0:4864:20::b129]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vXeL5-001xTs-2y for pgsql-admin@lists.postgresql.org; Mon, 22 Dec 2025 11:44:36 +0000 Received: by mail-yx1-xb129.google.com with SMTP id 956f58d0204a3-63fa0ddcc66so584281d50.1 for ; Mon, 22 Dec 2025 03:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1766403875; x=1767008675; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=miovJeBAj8/ctwS94YmFSbwPdyUqYVa/zCwcE9Vk5s8=; b=RNCNsmqMCiJqFJQwwDywB6sb10CQOuH4t09+/QuPiz3wL6f9v7LPBKvYX+hrp4V/Vc 2rHCfbbTcnyGu3QHHLzTsavHIN0qBKUQQo36yJ+XRNw86fnoaw2XPtzEZ2IKh1embcUc XYGDe7oHJZZHSSKrgmpM8tujCPMD74KwK6Veyp4hbxLRUvnQJINcsDvCYwsUE/bar1PI kHqlJNQYQGDM35lLT0VMfo/9YXyUa55JPqlNMV7PgcUrSW6iNiQ8w0sFMehAlA7PWxf0 YhAkdhFqEt6Pz3B7NiIOyCyx0jaz64ATMpoKxmpSVLFQEV4ZItsnCW9vXWuAH8sEcAqJ LnIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766403875; x=1767008675; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=miovJeBAj8/ctwS94YmFSbwPdyUqYVa/zCwcE9Vk5s8=; b=B7dQVPJuN/zePSMIMXaUppK7sNbK3K5mPRX5A9uQ7crRmdV90vt2eqIOceBdAdAet4 +DnlVQkl0bDlqsD2RgDFIRFBZYzzmxvKtUg0nLBhSfZzs4uBWbADCbM0ATdMlWkPSJzG r+/9/ziIRBU90F8Dbv92tGFv4hR0afG3gS44l3QO6jQ71JVqEUt14a+LsGplYMbFGK1x HQ6XBD/5B3X7eFimza3Q2NVBAyN/BQTa4yqb5wI/Ug37mxvZvmrTduT00agvbUwisAYO CIEM6QGDfm7+MmMAdNgTqo8Dt1U4ZSA2NG0lWxqKMMMmS9rvBthiWMS1lk150bJ3uGPO D9VQ== X-Gm-Message-State: AOJu0YzAs/6mT8YtPWhnDGd9VShopVGYMcOjUVJavdj/nqt4HSz4o0dF Ty3LAGXNNbdiHX8JYk0qK5f5d1FXSGdMtsAynjOOe8prudLdBeRmId5a5k4Os8OIeipk2PArYvz hVqFUByFFpKLiejMzHj/tXK4YM+tbzV0= X-Gm-Gg: AY/fxX72bL1Z2aB4P6pozmPXfWwNyjJfd5LLbN8wEOqJvdMK9SeHwqs+6xpG6/4tWNA DRI5zBsYNMao8s7sM+sjNJz8toF3CSmKa6yXbNF9QIaFZfY1Uuxs0p73KT7Mjje9EPmCi1PIg+E Ri7Yx/ocd6HMvlcseM/xx4uYwsYAy+TEKgN6mVKh6OVcE543x085nzqRjQfbFkryH85vZafSvYj /MQY48/gVxo9zzjGTp4vqTAGMI5CCDdSWt+OY/N/+V05aeLtgMca3vHXF/Uh8VvblPqhA== X-Google-Smtp-Source: AGHT+IFQfF9Y/p+m6x4loCXdzPk4Iou5PRzJancyWT3zm8fWHi4EB+wSLaSyfvH/1qPIShqR5dmkd/UVTiXRhF8bXGY= X-Received: by 2002:a05:690c:d8a:b0:78c:31cd:263a with SMTP id 00721157ae682-78fb4023c45mr82559627b3.1.1766403874699; Mon, 22 Dec 2025 03:44:34 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Fabrice Chapuis Date: Mon, 22 Dec 2025 12:44:23 +0100 X-Gm-Features: AQt7F2qx_hKyPosQaO8UNSMErbdkimq23Xt8UgYQUJFW-G2hUVEaVaottDs8oCY Message-ID: Subject: Re: OS upgrade vs Postgresql To: Raj Cc: Pgsql-admin Content-Type: multipart/alternative; boundary="0000000000007b3f5d064688f325" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007b3f5d064688f325 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If it's a minor upgrade of the OS and Postgres, I perform the update in the same time for all packages, starting with standby on a pre-production environment. On Mon, Dec 22, 2025 at 12:27=E2=80=AFPM Raj = wrote: > Thanks Anton. > > @fabrice. We had compatibility checks already before upgrade...but in a > patroni cluster, what's the best approach a dba should recommended. > > 1. Dont upgrade pgbackrest or postgres and exclude when performing os > upgrade? > 2. Start upgrading DR first and then upgrade primary? > Etc .... > > On Mon, 22 Dec 2025, 16:45 Fabrice Chapuis, > wrote: > >> Hi, >> IMO the best thing to do is to check the release notes for PG 17.7 and >> pgbackrest 2.57. >> Generally speaking, there are no compatibility issues between minor >> versions of Postgres. >> Regards, >> Fabrice >> >> On Mon, Dec 22, 2025 at 10:45=E2=80=AFAM Raj wrote: >> >>> Hi team, >>> >>> Our set up is Site1(primary - rhel 9.6, postgres 17.6 in a patroni set >>> up+ pgbackrest 2.6v & sync replica - - rhel 9.6, postgres 17.6 in a >>> patroni set up+ pgbackrest 2.6v) and in site2(async standby - - rhel 9.= 6, >>> postgres 17.6 in a patroni set up+ pgbackrest 2.6v) >>> >>> We have OS upgrade from rhel 9.6 to 9.7 for two nodes in Site1. We can >>> see postgres and pgbackrest has automatically upgraded to 17.7 and 2.57 >>> respectively. >>> >>> Whereas db node in site3 is no upgraded and stays with 9.6, 17.6 and >>> 2.56 for rhel , postgres and pgbackrest version respectively.this will = be >>> upgraded tomorrow >>> >>> Is this a problem( we intend to upgrade only OS and not postgres) ? Is >>> this problem or is it best way or is it a normal behaviour that can or >>> should be avoided? >>> What wrong we are doing? >>> What is the right approach? >>> Any blogs is appreciated >>> >> --0000000000007b3f5d064688f325 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If it's a minor upgrade of the OS and Postgres, I perf= orm the update in the same time for all packages, starting with standby on = a pre-production environment.

On Mon, Dec 22, 2025 at = 12:27=E2=80=AFPM Raj <raj= eshkumar.dba09@gmail.com> wrote:
Thanks Anton.
@fabrice. We had compatibility checks already bef= ore upgrade...but in a patroni cluster, what's the best approach a dba = should recommended.

1. D= ont upgrade pgbackrest or postgres and exclude when performing os upgrade?<= /div>
2. Start upgrading DR first and then upgrade primary= ?
Etc ....

On Mon, 22 Dec 2025, 16:45 Fabrice C= hapuis, <fabrice636861@gmail.com> wrote:
Hi,
IMO the bes= t thing to do is to check the release notes for PG 17.7 and=C2=A0 pgbackrest 2.57.
Generally speaking, there are no compatibility issues b= etween minor versions of Postgres.
Regards,
Fabrice

<= div class=3D"gmail_quote">
On Mon, Dec= 22, 2025 at 10:45=E2=80=AFAM Raj <rajeshkumar.dba09= @gmail.com> wrote:
Hi team,

Our set up is Site1(primary - rhel 9.6,=C2=A0 postgres 17.6 in a = patroni set up+ pgbackrest 2.6v=C2=A0 =C2=A0& sync replica -=C2=A0 - rh= el 9.6,=C2=A0 postgres 17.6 in a patroni set up+ pgbackrest 2.6v) and in si= te2(async standby - - rhel 9.6,=C2=A0 postgres 17.6 in a patroni set up+ pg= backrest 2.6v)

We have O= S upgrade from rhel 9.6 to 9.7 for two nodes in Site1. We can see postgres = and pgbackrest has automatically upgraded to 17.7 and 2.57 respectively.

Whereas db node in site3 i= s no upgraded and stays with 9.6, 17.6 and 2.56 for rhel , postgres and pgb= ackrest version respectively.this will be upgraded tomorrow

Is this a problem( we intend to upgra= de only OS and not postgres) ? Is this problem or is it best way or is it a= normal behaviour that can or should be avoided?
Wha= t wrong we are doing?
What is the right approach?=C2= =A0
Any blogs is appreciated=C2=A0
--0000000000007b3f5d064688f325--