Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJxy0-0006I8-Aj for pgsql-general@arkaria.postgresql.org; Sat, 28 Aug 2021 13:01:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mJxxz-00083I-8Z for pgsql-general@arkaria.postgresql.org; Sat, 28 Aug 2021 13:01:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mJxxy-00083A-Ss for pgsql-general@lists.postgresql.org; Sat, 28 Aug 2021 13:01:46 +0000 Received: from mail-io1-xd33.google.com ([2607:f8b0:4864:20::d33]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mJxxv-0002tY-7R for pgsql-general@lists.postgresql.org; Sat, 28 Aug 2021 13:01:45 +0000 Received: by mail-io1-xd33.google.com with SMTP id q3so12742923iot.3 for ; Sat, 28 Aug 2021 06:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=KGIu7BPn8FrHprBxMre1JW2yuV3KApiw0HVRASJXkXg=; b=X/XVHHnLPJtLlzckqDitadmP8iYPfLcMMDQ9dLzruaEhikTEsO+QmW8Q+OotoZL+bZ pEXSscQjvP47PdzOun0qqel6eyWTCzGEojqTAZoocUi2q1KypANOp3LxpmNKNEe/Ee3+ AEAurAKhr+L4GDbqS89k6d5PkP+T7X2RGYZJjnscE7ly8RCT35Ee/75iJV/0Pv5MrXmM ZJB/NylMQW9s2nnX53k4ZT1BxkCKRl+eBDYIWpgKPTWN6KXL4YDBhFKqoaIYkCz6jv7W pSxMSRFRKkAm3PonHmy3oHTGLnlvD7Y1+I7MfDUITQ8cbC/LWnQ6m2d2BTLQoKt+J4PT tsCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=KGIu7BPn8FrHprBxMre1JW2yuV3KApiw0HVRASJXkXg=; b=nvkZZfwK6SsyjWjU4ovCXiXy9mo+1KiK3kgg2QWQUlLCq8CDKtXEDXPE/6o9aXCWOu WuoStp+ZoQBrDJxoo1GmJrR8UobhMK60XswW2PtywrZtYwMZ9RcDBKQCJbJSqQK0SjdM /Duyr7TTBNe1i/n04SwG41KIhsmBt3hwbega87KYMXx/ZIUdmF6CPRWKWq6B4uM3zdwk 1gTkdNLp+eEzJTpwe1CxjDYg3b200GHn0U2s42OPItbTg5SyoRm9Qz1pwrOPWDIA3dWF 1rxmWUWAYi0nztu84NxMPea3lwYJhsHNM6er68BVuOFb02Iq6/4Xs0LAwPQHIatLyi/r A4BQ== X-Gm-Message-State: AOAM533bz/2ZANPpKO+mP5vc0YSWaQ1F+uOTvVQmcVCikrz5cnYvafne HagvIMtyZ4LVs9ABLnTg6c0vNH+twPehNQ== X-Google-Smtp-Source: ABdhPJwlAuhHT7dWHy+wDdrIBKLgxcEE9Pmk9GhWNlYGmBluopKHtvZZYZisCNKtE1CfksWOjSaFjA== X-Received: by 2002:a02:908a:: with SMTP id x10mr12074095jaf.30.1630155701247; Sat, 28 Aug 2021 06:01:41 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id d14sm5542718iod.18.2021.08.28.06.01.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Aug 2021 06:01:40 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id CC22C8015F3; Sat, 28 Aug 2021 08:01:39 -0500 (CDT) Date: Sat, 28 Aug 2021 08:01:39 -0500 From: Justin Pryzby To: Sudhir Guna Cc: pgsql-general@lists.postgresql.org Subject: Re: Supported RHEL version for PostgreSQL 11 Message-ID: <20210828130139.GR26465@telsasoft.com> References: <20210825171539.GA10479@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Aug 28, 2021 at 04:08:33PM +0800, Sudhir Guna wrote: > The RHEL upgrade from 7.5 to 8.4 is not done as an incremental version > upgrade rather directly from 7.5. I think the process should be: 1) upgrade from RH7 to RH8; 2) reindex relevant indexes (see wiki link below); 3) upgrade from postgres 9.6 to 11; You may need to install updated PGDG packages for the RH8. How are you planning to upgrade postgres ? Using pg_upgrade, or pg_dump, or ?? > Postgres is installed using PGDG packages. > > On Thu, Aug 26, 2021 at 1:15 AM Justin Pryzby wrote: > > > On Wed, Aug 25, 2021 at 11:47:57PM +0800, Sudhir Guna wrote: > > > Hi All, > > > > > > I would like to clarify on OS upgrade for PostgreSQL. > > > > > > Currently we are on PostgreSQL 9.6 on RHEL 7.5. We would like to do a > > > direct upgrade from RHEL 7.5 to RHEL 8.4 and then upgrade PostgreSQL 9.6 > > to > > > PostgreSQL 11. > > > > > > Is it ok to do a direct upgrade from RHEL 7.5 to RHEL 8.4 > > > > Please describe what you mean by a "direct upgrade" ? > > > > You should be careful, since the sort order of indexes can change: > > https://wiki.postgresql.org/wiki/Locale_data_changes > > | Version 8 uses the new locale data. Therefore, caution will be necessary > > when upgrading. > > > > > Is PostgreSQL 11 compatible with RHEL 8.4 > > > > How did you install postgres ? > > Compiled from source ? > > Using RHEL packages ? > > Using PGDG packages ? > > > > PDDG has pacakges for PG11/RH8 > > https://yum.postgresql.org/rpmchart/#pg11