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 1v3xbv-006Bk4-7c for pgsql-general@arkaria.postgresql.org; Wed, 01 Oct 2025 14:15:15 +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 1v3xbt-003DJb-9A for pgsql-general@arkaria.postgresql.org; Wed, 01 Oct 2025 14:15:13 +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.94.2) (envelope-from ) id 1v3xbs-003DJG-Ol for pgsql-general@lists.postgresql.org; Wed, 01 Oct 2025 14:15:13 +0000 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1v3xbo-000sxI-2k for pgsql-general@lists.postgresql.org; Wed, 01 Oct 2025 14:15:11 +0000 Received: by mail-pl1-x633.google.com with SMTP id d9443c01a7336-271d1305ad7so94976545ad.2 for ; Wed, 01 Oct 2025 07:15:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jprotech-com-vn.20230601.gappssmtp.com; s=20230601; t=1759328108; x=1759932908; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Hn2a1VDQk+Zo79ZdYz5N68M4d1QGzxqk01Dmc0E/6Ds=; b=y42FOKuvAGn2Zbk5i5HqTqA483jSpOQZEjyICaduKR7navvdUR0+NDfMUM61RZUzNm WNOT/cDd5MnCB/d9cz3N8lVX/NDrGoDfZNvaLJYhEm36fGANgJIk+dy14x5mwi3CsKww Mg9I50fe+EVsBzEdXClQcDY1fT0VsLCtvEqrLy72x3dobkukE/digwLmVD3azOI/vSGt lX+xG5/5Ex1yOdxuS77shA5RKOWpD8xhuAYDcBwPkKyl67T6csqlNKtf5w5dLfPVBhGY qbLMo+22By9bLI8hdZAcdKsDrZZFJKW3NXEgXw7N0UoERwLv219/4D3CdHm/e3GHCTkb FQZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1759328108; x=1759932908; h=content-transfer-encoding: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=Hn2a1VDQk+Zo79ZdYz5N68M4d1QGzxqk01Dmc0E/6Ds=; b=hJmeWxeomu/BFdGR0bEa6O8DNtXLiuxcQP+dKopdhu42mL0yDskG5M2wyDYbXfGwaI 4MgXz6Mqe9scLs/0+dvMGrcM2eZdh2e+5phj7rDXiFwtvqNyk5YDyLW1eF+pntRN53Zy XRau0RGGIeH2IXlbDvykY63R78xjF7W22Nxlc/HbBsiK3jAfv+82du8dxTBaFMA0peGj nUI4LfFabm0qSlvkU9Uez9hm3hGM4K5ZbMjT8rTo8+ajRhouAyQLtFRIUeCEJ6RAUu5l xjz7Lr47Mz7Xwbnpz6RBUG+i65MkWGLWQL9hpklLQVf1bUcgwNHmywEWqXw22YkBZjUr mNJw== X-Gm-Message-State: AOJu0YxGw83IKiJ1QFWGY+qhWvDSmKtgPYA3Ho0LmTxl4wgshgX85gCJ GRip0OkbZWybm1D+hiD3Lw/pAWL2rQwtI8euFd+hdUQ/jfIcq1JhBKD8fUBIARxL78dks0+d7P6 qCP6oaqx6OxCiwoxFMr/8Z7zaLS3g8mrqyX52crgyxkpdWg6ObX67yFVcLw== X-Gm-Gg: ASbGnct6oPJ2wCipJHesOd1JBEOMwB8c4LQ2SGp0y6ZyoqedtvaP3z7BUQKTm0LTOh/ +kHRtFwtb/qKP0lwXJh6A1bs9MRR1WA1xlbZHWN8Nk58ap4Vk+0hNqEmQwaJYTIWlGN+40AHJCF ucdS3w0FXz18YwSGU49DZnVCMZ4srHxgEu7VXOAEV3me6JMbkndJQUDmgc9XfF5UzgqZTLxc1oj Yl4uAqCzPDjfZkZzvf57Wp+GQhxJZo= X-Google-Smtp-Source: AGHT+IGiLfHkqDE9G08VpH+NcZxn1bwxKOb0IXuqlEiCp1oEHF7BYTxZek9BnqCdtSRLSyU3KaJDMUfFV+zpNRnX7Gw= X-Received: by 2002:a17:903:2ecc:b0:25d:1640:1d59 with SMTP id d9443c01a7336-28e7f28e25emr40219025ad.8.1759328108084; Wed, 01 Oct 2025 07:15:08 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Vu Le (JData - HN)" Date: Wed, 1 Oct 2025 21:14:56 +0700 X-Gm-Features: AS18NWAZDBO6KVWC2sjyQJRI-8C9nsIhSKneqFM573YXXEg8mh-TL7FCLFjWnik 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: Greg Sabino Mullane Cc: pgsql-general@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi Greg, Much appreciated for the clear confirmation! It=E2=80=99s great to know tha= t `pg_upgrade` takes care of all structural changes, and that the remaining "extra works" are indeed a rare manual check. I will follow your advice and use common sense during the final review. Thanks for the guidance and the reassurance. On Wed, Oct 1, 2025 at 6:27=E2=80=AFPM Greg Sabino Mullane wrote: > > 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 extra w= orks/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 abov= e, it's a manual step of reading the release notes and taking steps dependi= ng on your particular database. Keep in mind, these steps are very rare. > >> Does pg_upgrade implicitly incorporate all necessary structural fixes fr= om the minor versions between 13.7 and 17.6? > > > Yes > >> >> Has anyone in the community performed a similar large jump and found une= xpected 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 > --=20 Best Regards, Miles Le (Mr.)