Re: Collation version tracking for macOS - Mailing list pgsql-hackers

From Peter Geoghegan
Subject Re: Collation version tracking for macOS
Date
Msg-id CAH2-Wzn_WEjnOrSus6LPHuJYhdehQNzZ=CkhNMpMfCc3Q8-WdA@mail.gmail.com
Whole thread Raw
In response to Re: Collation version tracking for macOS  (Jeremy Schneider <schneider@ardentperf.com>)
List pgsql-hackers
On Thu, Jun 9, 2022 at 10:54 AM Jeremy Schneider
<schneider@ardentperf.com> wrote:
> MySQL did the right thing here by doing what every other RDBMS did, and just making a simple “good-enough” collation
hardcodedin the DB, same across all platforms, that never changes. 

That's not true. Both SQL Server and DB2 have some notion of
collations that are versioned.

Oracle may not, but then Oracle also handles collations by indexing
strxfrm() blobs, with all of the obvious downsides that that entails
(far larger indexes, issues with index-only scans). That seems like an
excellent example of what not to do.

--
Peter Geoghegan



pgsql-hackers by date:

Previous
From: "Ma, Marcus"
Date:
Subject: Sharing DSA pointer between parallel workers after they've been created
Next
From: Bruce Momjian
Date:
Subject: Re: Checking for missing heap/index files