On 2024-09-19 16:37:41 +0200, Paul Foerster wrote: > we have SLES 15.5 which has glibc 2.31. Our admin told us that he's > about to install the SLES 15.6 update which contains glibc 2.38. > > I have built our PostgreSQL software from source on SLES 15.5, because > we have some special requirements which the packages cannot fulfill. > So I have questions: > > 1) Do I have to build it again on 15.6? > > 2) Does the glibc update have any impact? I recall having to have > everything reindexed when the 2.28 update came due to major locale > changes, but I didn't have to do it since then. > > 3) Where and how can I find out if it is necessary to reindex? I wrote a small script[1] which prints all unicode code points and a few selected[2] longer strings in order. If you run that before and after the upgrade and the output doesn't change, you are probably be fine. (It checks only the default collation, though: If you have indexes using a different collation you would have to modify the script accordingly.) If there are differences, closer inspection might show that the changes don't affect you. But I would reindex all indexes on text (etc.) columns just to be sure. hp [1] https://git.hjp.at:3000/hjp/pgcollate [2] The selection is highly subjective and totally unscientific. Additions are welcome. -- _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@xxxxxx | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!"
Attachment:
signature.asc
Description: PGP signature