From: Tom Lane Date: Sun, 13 Jan 2008 21:17:46 +0000 (+0000) Subject: Fix a regression test that fails if default_text_search_config isn't X-Git-Tag: REL8_3_RC2~29 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=689d02a2e9c56dbad3982a440278e937fd063260;p=postgresql Fix a regression test that fails if default_text_search_config isn't 'english'. --- diff --git a/src/test/regress/expected/tsearch.out b/src/test/regress/expected/tsearch.out index b085f5958d..1f7e6ffbaf 100644 --- a/src/test/regress/expected/tsearch.out +++ b/src/test/regress/expected/tsearch.out @@ -392,7 +392,7 @@ SELECT length(to_tsvector('english', '345 qwe@efd.r '' http://www.com/ http://ae (1 row) -- ts_debug -SELECT * from ts_debug('abc&nm1;def©ghiõjkl'); +SELECT * from ts_debug('english', 'abc&nm1;def©ghiõjkl'); alias | description | token | dictionaries | dictionary | lexemes -----------+-----------------+----------------------------+----------------+--------------+--------- tag | XML tag | | {} | | diff --git a/src/test/regress/sql/tsearch.sql b/src/test/regress/sql/tsearch.sql index 6be8b456aa..3cf34524d3 100644 --- a/src/test/regress/sql/tsearch.sql +++ b/src/test/regress/sql/tsearch.sql @@ -100,7 +100,7 @@ SELECT length(to_tsvector('english', '345 qwe@efd.r '' http://www.com/ http://ae -- ts_debug -SELECT * from ts_debug('abc&nm1;def©ghiõjkl'); +SELECT * from ts_debug('english', 'abc&nm1;def©ghiõjkl'); -- to_tsquery