public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Kamen Kalchev <[email protected]>
Cc: [email protected]
Cc: [email protected]
Subject: Re: glibc 2.35-2.39 upgrade requirements
Date: Fri, 17 Jan 2025 10:27:04 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CAKZpw=dSX2yHq6M1aVXH0ep-kgW9a3tre=BPRcC-R2-nZC5nJQ@mail.gmail.com>
References: <CAKZpw=dSX2yHq6M1aVXH0ep-kgW9a3tre=BPRcC-R2-nZC5nJQ@mail.gmail.com>
Kamen Kalchev <[email protected]> writes:
> Hi everyone, we're planning to upgrade the OS running Postgres from ubuntu
> jammy to ubuntu noble. As part of the OS change, the glibc version will be
> changed from glibc 2.35 to glibc 2.39..
> Can someone confirm if changing the glibc between those versions will
> require a full reindex of the Postgres cluster?
Maybe, maybe not. According to [1], the last glibc collation change
that the PG community really noticed was in glibc 2.28. So maybe
there weren't any significant changes between 2.35 and 2.39. The
conservative path would certainly be to reindex all textual columns
(though you can skip any that have collation "C").
If you feel a need to try to avoid that, you could dump some of your
textual columns into files and sort those using sort(1) on both
old and new systems. (Be sure that the LANG/LC_xxx environment
matches what you use for the database.) If the results are different
then you definitely need to reindex; if they are the same then maybe
you're okay. Pay particular attention to columns containing
punctuation or non-ASCII characters, as those are the areas most
likely to see changes.
regards, tom lane
[1] https://wiki.postgresql.org/wiki/Locale_data_changes
view thread (5+ messages) latest in thread
reply
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: glibc 2.35-2.39 upgrade requirements
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox