]> granicus.if.org Git - postgresql/commit
Make contrib regression tests safe for Danish locale.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Jul 2016 20:52:35 +0000 (16:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Jul 2016 20:52:35 +0000 (16:52 -0400)
commitd70d119151d8e3442500be5e372439ef8805ec2b
tree29cc7034a353349373e348654fb3eed7b994850a
parent95810ed8ee4223cfbad257f2d5f5f7d7da60c971
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.
12 files changed:
contrib/btree_gin/expected/bytea.out
contrib/btree_gin/expected/text.out
contrib/btree_gin/expected/varchar.out
contrib/btree_gin/sql/bytea.sql
contrib/btree_gin/sql/text.sql
contrib/btree_gin/sql/varchar.sql
contrib/citext/expected/citext.out
contrib/citext/expected/citext_1.out
contrib/citext/sql/citext.sql
contrib/tsearch2/expected/tsearch2.out
contrib/tsearch2/expected/tsearch2_1.out [deleted file]
contrib/tsearch2/sql/tsearch2.sql