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.94.2) (envelope-from ) id 1v3uzm-005b42-MP for pgsql-general@arkaria.postgresql.org; Wed, 01 Oct 2025 11:27:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1v3uzk-0016Oy-KJ for pgsql-general@arkaria.postgresql.org; Wed, 01 Oct 2025 11:27:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1v3uzk-0016Oo-9A for pgsql-general@lists.postgresql.org; Wed, 01 Oct 2025 11:27:40 +0000 Received: from mail-il1-x12c.google.com ([2607:f8b0:4864:20::12c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v3uzi-0014U6-1H for pgsql-general@lists.postgresql.org; Wed, 01 Oct 2025 11:27:40 +0000 Received: by mail-il1-x12c.google.com with SMTP id e9e14a558f8ab-42d888f6b3bso1664625ab.1 for ; Wed, 01 Oct 2025 04:27:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1759318056; x=1759922856; 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=3POjWcr+zKT9T+5bUxEnstgm4TIDNKmVIuyx7HDV/nc=; b=AJmasmzeqAHPhmDE4XqpMnilPMkEqxpY3Y6rreaCwZ67XJx4WFOmQz58NmpFjk8SMj zW7k1myoGuNc/3hZhNh4uZp82VZOEkmtSDnbGoH2AYNXs4MEmjEctpgkK8TGi1E7Q66F frmuifBY6mgVvkYxdBFxN2aVME3nOV1LTHT8htkVGfAFaqoJtwSUm+BnWdWzlhXnaxE/ aXrjfyfk/tAqqEArRNs22elV9IKxDOEYN6Xi52oHO7ura2klqGmB7uu+d58o3WO7BNGT HDLxtxwzyE6p7xUY4OR4AsCO8VaGOv8X73E9chNQ7hb3ubhrWX1lvMLQOYjfSpRdl4hD z8pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759318056; x=1759922856; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=3POjWcr+zKT9T+5bUxEnstgm4TIDNKmVIuyx7HDV/nc=; b=nLIDY1M8IUVxS7H+uY3cqNsOds3VjaRjzKXfHEeJj48CStoDgYyDIjpo53+9kSGlY5 LQYcHKWX4OuSERbF7sr54lqszstWc4FK+CT1/JOB3pzUx7qOV1EcWi+ZPt3NQUenlH37 lldh03P0737WhUoFehvLHFGDjNd95Syj57E9mSRekQcdebM5MQEnpkXeHac/zyJ3Lf8s xBrqhXrNRE1KiAn+fS22NNWyuGwTspc81mvTskx9MSCwHwlJrYTBgx9SRTBpbUTSneKc Y0juPC4VbieMsW7D7qT/8tkPWixugsnd8zlRHr4kld9shzlQEAmvgJi0cUvi7EL38UbO cp6w== X-Gm-Message-State: AOJu0YwmUKZeuLXDi5llr0B6rO2cZwMPgKA1nniTcvv9dlwNaVjCANSP pknSkLMjBq1JJBgZx0uPywgyTpEq30e18QQ2B35/zH6J3YC31QtRj5hcDVRZlqAsIbWikdvmPvp NH9vkJdAy3ebtz5NDpeKVLpOye0F5nL08DQ== X-Gm-Gg: ASbGncvUWxk5YNFPZO7ucey55dIetF23kQzKgp5fOx9aiDpp5e9ktOd6DlCm5XybXiF D3m74nRzzU/yegVKwoS9BRdQxW6sPvN3DrPoMHM+WKFPTSvVHxpCWsh8TIEdXDPHbC4lAlhivSh 9NMCJaTQ1nDF1W3Koy7qrl0Vsb99PNZjHrIIKe3zQRNny1DrIH0P6mFQG5G6o5+0HIPSioHBprC 8R86MZk0lWiq6O0ZW077mxKBfz0fGm7GvMxdBvPlc90ggpNx9p5gTJAYp86nXnHJQ== X-Google-Smtp-Source: AGHT+IFezyfoyqTQnygCnsQDceBGPwcR3qEmLeoJjIs0aI/AZI/NUFXOJjgOkUzh3t+6I0hEzULUVb3/3oO/mkaa08k= X-Received: by 2002:a05:6e02:278a:b0:428:7f76:4ec4 with SMTP id e9e14a558f8ab-42d8160c708mr38758645ab.16.1759318055753; Wed, 01 Oct 2025 04:27:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Greg Sabino Mullane Date: Wed, 1 Oct 2025 07:26:59 -0400 X-Gm-Features: AS18NWBEv4rpQMD2vRkD61ch6t1OySyUKpmbozlK8om2boL0vP7ryQHtiTz2hTw Message-ID: Subject: =?UTF-8?Q?Re=3A_Direct_Major_Upgrade_=2813=2E7_=E2=86=92_17=2E6=29_with_pg=5Fupg?= =?UTF-8?Q?rade=3A_Clarifying_the_need_for_Intermediate_Minor_Fixes=2FScrip?= =?UTF-8?Q?ts?= To: "Vu Le (JData - HN)" Cc: pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000c29f5e06401727b4" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000c29f5e06401727b4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Oct 1, 2025 at 3:47=E2=80=AFAM Vu Le (JData - HN) wrote: > My question is: When performing a direct jump from 13.7 to 17.6 using > pg_upgrade, do I need to manually identify and execute the cumulative ext= ra > works/fixes from ALL the skipped intermediate versions (13.8, 13.9, 14.x, > 15.x, 16.x)? > Yes. Although with common sense, e.g. no need to reindex something twice. Is there an official best practice document that clarifies how > pg_upgrade handles these "extra works" from skipped minor releases? > These are not handled by pg_upgrade, hence the "extra". As you noted above, it's a manual step of reading the release notes and taking steps depending on your particular database. Keep in mind, these steps are very rare. Does pg_upgrade implicitly incorporate all necessary structural fixes from > the minor versions between 13.7 and 17.6? > Yes > Has anyone in the community performed a similar large jump and found > unexpected issues due to skipping these intermediate manual steps? > I've jumped many versions, many times, for many clients. Just follow the recommended steps and all will be well. Cheers, Greg -- Crunchy Data - https://www.crunchydata.com Enterprise Postgres Software Products & Tech Support --000000000000c29f5e06401727b4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 1, 2025 at 3:47=E2=80=AFAM Vu= Le (JData - HN) <dba4@jprotech.= com.vn> wrote:
My question is: When per= forming a direct jump from 13.7 to 17.6 using pg_upgrade, do I need to manu= ally identify and execute the cumulative extra works/fixes from ALL the ski= pped intermediate versions (13.8, 13.9, 14.x, 15.x, 16.x)?
=

Yes. Although with common sense, e.g. no need to reinde= x something twice.

Is there an official best practice document that clarifies ho= w
pg_upgrade handles these "extra works" from skipped minor release= s?

These are not handled by pg_upgrade,= hence the "extra". As you noted above, it's a manual step of= reading the release notes and taking steps depending on your particular da= tabase. Keep in mind, these steps are very rare.

Does pg_upgrade implicitly incorporate all necessary structural fixes from = the minor versions between 13.7 and 17.6?

Yes
=C2=A0
Has anyone in the community performed a similar large jump and found unexpe= cted issues due to skipping these intermediate manual steps?

I've jumped many versions, many times, for many c= lients. Just follow the recommended steps and all will be well.
=

Cheers,
Greg

--
Enterprise Postgres Software Products & = Tech Support

--000000000000c29f5e06401727b4--