git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4333eee) | patch
Remove dependency on database encoding in citext regression test.
2014年2月27日 19:58:47 +0000 (14:58 -0500)
2014年2月27日 19:58:47 +0000 (14:58 -0500)
commit 1161d895d826950cbb736e5872935f3f53cc2e27
Remove dependency on database encoding in citext regression test.

Testing convert_to(..., 'ISO-8859-1') fails if there isn't a conversion
function available from the database encoding to ISO-8859-1. This has
been broken since day one, but the breakage was hidden by
pg_do_encoding_conversion's failure to complain, up till commit
49c817eab78c6f0ce8c3bf46766b73d6cf3190b7.

Since the data being converted in this test is plain ASCII, no actual
conversion need happen (and if it did, it would prove little about citext
anyway). So that we still have some code coverage of the convert() family
of functions, let's switch to using convert_from, with SQL_ASCII as the
specified source encoding. Per buildfarm.
contrib/citext/expected/citext.out diff | blob | blame | history
contrib/citext/expected/citext_1.out diff | blob | blame | history
contrib/citext/sql/citext.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /