Make contrib regression tests safe for Danish locale.
Tom Lane <tgl@sss.pgh.pa.us>
Make contrib regression tests safe for Danish locale.
In btree_gin and citext, avoid some not-particularly-interesting
dependencies on the sorting of 'aa'. In tsearch2, use COLLATE "C" to
remove an uninteresting dependency on locale sort order (and thereby
allow removal of a variant expected-file).
Also, in citext, avoid assuming that lower('I') = 'i'. This isn't relevant
to Danish but it does fail in Turkish.
Files
| Path | Change | +/− |
|---|---|---|
| contrib/btree_gin/expected/bytea.out | modified | +3 −3 |
| contrib/btree_gin/expected/text.out | modified | +3 −3 |
| contrib/btree_gin/expected/varchar.out | modified | +3 −3 |
| contrib/btree_gin/sql/bytea.sql | modified | +1 −1 |
| contrib/btree_gin/sql/text.sql | modified | +1 −1 |
| contrib/btree_gin/sql/varchar.sql | modified | +1 −1 |
| contrib/citext/expected/citext_1.out | modified | +113 −148 |
| contrib/citext/expected/citext.out | modified | +113 −148 |
| contrib/citext/sql/citext.sql | modified | +21 −22 |
| contrib/tsearch2/expected/tsearch2_1.out | deleted | +0 −2969 |
| contrib/tsearch2/expected/tsearch2.out | modified | +6 −6 |
| contrib/tsearch2/sql/tsearch2.sql | modified | +6 −6 |