From: Bruce Momjian <bruce@momjian.us>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Josef Šimánek <josef.simanek@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Marcelo Lacerda <marceloslacerda@gmail.com>
Cc: pgsql-generallists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Clarification on the release notes of postgresql 12 regarding pg_upgrade
Date: Fri, 4 Oct 2019 18:19:34 -0400
Message-ID: <20191004221934.GA29212@momjian.us> (raw)
In-Reply-To: <CAH2-WzkBFgh+ZnNmL-gtPyVW4ozMreYbrVi-2Pk6kafhuX3eFA@mail.gmail.com>
References: <CAPmRTtM5S-uc20MHU2PsMkQDwR0xjULQBuAsMzN1WDBw0aePbg@mail.gmail.com>
<7c09fb78bdfe7bb34bfa21c1807262613ef49a3b.camel@cybertec.at>
<CAFp7QwpBZDj49A+dSg2+kUGi2P-beDzZ23os7Re=xYQPZ+NWjA@mail.gmail.com>
<14924.1570205359@sss.pgh.pa.us>
<CAH2-WzkBFgh+ZnNmL-gtPyVW4ozMreYbrVi-2Pk6kafhuX3eFA@mail.gmail.com>
On Fri, Oct 4, 2019 at 09:43:31AM -0700, Peter Geoghegan wrote:
> On Fri, Oct 4, 2019 at 9:09 AM Tom Lane <tgl@sss.pgh.pa.us> 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 <bruce@momjian.us> 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 +
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: bruce@momjian.us, pg@bowt.ie, tgl@sss.pgh.pa.us, josef.simanek@gmail.com, laurenz.albe@cybertec.at, marceloslacerda@gmail.com
Subject: Re: Clarification on the release notes of postgresql 12 regarding pg_upgrade
In-Reply-To: <20191004221934.GA29212@momjian.us>
References: <CAPmRTtM5S-uc20MHU2PsMkQDwR0xjULQBuAsMzN1WDBw0aePbg@mail.gmail.com> <7c09fb78bdfe7bb34bfa21c1807262613ef49a3b.camel@cybertec.at> <CAFp7QwpBZDj49A+dSg2+kUGi2P-beDzZ23os7Re=xYQPZ+NWjA@mail.gmail.com> <14924.1570205359@sss.pgh.pa.us> <CAH2-WzkBFgh+ZnNmL-gtPyVW4ozMreYbrVi-2Pk6kafhuX3eFA@mail.gmail.com> <20191004221934.GA29212@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox