fixes for the Danish locale

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: fixes for the Danish locale
Date: 2016-07-21 15:42:46
Message-ID: CAMkU=1w-cEDbA+XHdNb=YS_4wvZbs66Ni9KeSJKAJGNJyOsgQw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In Danish, the sequence 'aa' is sometimes treated as a single letter
which collates after 'z'.

Some regression tests got into 9.5, and are still in 9.6beta3, which
fail due to assuming they know how things will sort or compare.

I thought the easiest way to deal with it was just to change the test
data to use 'ab...' rather than 'aa...' to represent an
early-collating string.

With these applied, this now passes:

LANG=danish make check

Cheers,

Jeff

Attachment Content-Type Size
danish_brin.patch application/octet-stream 1.5 KB
danish_row_level_security.patch application/octet-stream 6.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2016-07-21 15:54:50 Re: RecoveryTargetTLI dead variable in XLogCtlData
Previous Message Robert Haas 2016-07-21 15:38:17 Re: Constraint merge and not valid status