From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: shihao zhong <zhong950419@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: PostgreSQL-development <pgsql-hackers@lists.postgresql.org>
Subject: Re: First draft of PG 19 release notes
Date: Fri, 06 Nov 2026 21:29:07 -0500
Message-ID: <2003230.1794018547@sss.pgh.pa.us> (raw)
In-Reply-To: <au6KHtmKQIyWXeV0@momjian.us>
References: <ad7ngXC125AvNqC2@momjian.us>
<b07a64baaf33351f465d286cfb09c01c57496bab.camel@cybertec.at>
<auD9DR-3a9LyJSgd@momjian.us>
<CAGRkXqSC-=b3oJz_0X3ao=kJG-RVFyW8aMiAq6ONs6uUSusVpA@mail.gmail.com>
<au6KHtmKQIyWXeV0@momjian.us>
Bruce Momjian <bruce@momjian.us> writes:
> On Sat, Oct 31, 2026 at 11:24:33PM -0400, shihao zhong wrote:
>> The attached patch adds a short entry that tells people to REINDEX them
>> after upgrading. It is for REL_19_STABLE only. Would you add it?
> The general issue is that PG 19 is assumed to include all changes in all
> the minor releases so far. Therefore, I don't think this belongs in the
> PG 19 major release notes.
Also, the proposed text is too alarmist, because it claims that
indexes on CHAR(n) columns need to be reindexed. AFAICS that is not
true: CHAR(n) forces the number of characters to match in all entries
in the column, therefore two otherwise-equal strings will have the
same number of trailing blanks and will compare bitwise equal anyway.
So you are only at risk if you created an unconstrained "bpchar"
column, which is surely a pretty tiny minority usage.
I did list this first in the draft 18.7 release notes, but mostly
by default: there are not too many entries that require DBA action.
I think the number of people actually affected will be small,
likely smaller than the number of people who need to worry about
reindexing other kinds of indexes.
(To that point, if we did mention reindexing issues in major release
notes, we'd have to cover those other bugs too.)
regards, tom lane
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-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, bruce@momjian.us, zhong950419@gmail.com, laurenz.albe@cybertec.at
Subject: Re: First draft of PG 19 release notes
In-Reply-To: <2003230.1794018547@sss.pgh.pa.us>
References: <ad7ngXC125AvNqC2@momjian.us> <b07a64baaf33351f465d286cfb09c01c57496bab.camel@cybertec.at> <auD9DR-3a9LyJSgd@momjian.us> <CAGRkXqSC-=b3oJz_0X3ao=kJG-RVFyW8aMiAq6ONs6uUSusVpA@mail.gmail.com> <au6KHtmKQIyWXeV0@momjian.us> <2003230.1794018547@sss.pgh.pa.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