]> 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:36 +0000 (16:52 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Jul 2016 20:52:36 +0000 (16:52 -0400)
commitba64aed7004a88f66ef204cd8b18c2c5621b2f30
tree46813be32374889f257ed2f2ca0932907d945e7d
parentf61ecd01e349cc45e9299ba48bba3fb4673fc319
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