Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGVvM-0000vW-9Q for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 22:19:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGVvK-0000dw-OQ for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 22:19:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGVvK-0000dp-EN for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 22:19:42 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGVvH-00047D-PU for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 22:19:42 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1iGVvC-0000Kq-13; Fri, 04 Oct 2019 18:19:34 -0400 Date: Fri, 4 Oct 2019 18:19:34 -0400 From: Bruce Momjian To: Peter Geoghegan Cc: Tom Lane , Josef =?utf-8?B?xaBpbcOhbmVr?= , Laurenz Albe , Marcelo Lacerda , "pgsql-generallists.postgresql.org" Subject: Re: Clarification on the release notes of postgresql 12 regarding pg_upgrade Message-ID: <20191004221934.GA29212@momjian.us> References: <7c09fb78bdfe7bb34bfa21c1807262613ef49a3b.camel@cybertec.at> <14924.1570205359@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, Oct 4, 2019 at 09:43:31AM -0700, Peter Geoghegan wrote: > On Fri, Oct 4, 2019 at 9:09 AM Tom Lane wrote: > > > You can't REINDEX safely regarding that note. > > > > Actually running into that problem is quite unlikely; and if you did > > hit it, it'd just mean that the REINDEX fails, not that you have any > > urgent problem to fix. I'd encourage you to just go ahead and REINDEX, > > if you have indexes that could benefit from the other changes. > > Right. It is hard to imagine an application that evolved to fully rely > on the previous slightly higher limit, and cannot tolerate a reduction > in the limit by only 8 bytes. The limit applies to a tuple *after* > TOAST compression has been applied. Right. Pg_upgrade is fast, but we don't want it limiting file format changes that can improve Postgres. Allowing REINDEX to fix things is the best of both worlds --- fast upgrades, and after some REINDEX-ing, faster Postgres. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription +