]> granicus.if.org Git - postgresql/commitdiff
Fix a regression test that fails if default_text_search_config isn't
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 13 Jan 2008 21:17:46 +0000 (21:17 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 13 Jan 2008 21:17:46 +0000 (21:17 +0000)
'english'.

src/test/regress/expected/tsearch.out
src/test/regress/sql/tsearch.sql

index b085f5958de69e62e1defcca3491932e6c619126..1f7e6ffbafcd38016fa70ecc575c7340f2c68785 100644 (file)
@@ -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('<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
+SELECT * from ts_debug('english', '<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
    alias   |   description   |           token            |  dictionaries  |  dictionary  | lexemes 
 -----------+-----------------+----------------------------+----------------+--------------+---------
  tag       | XML tag         | <myns:foo-bar_baz.blurfl>  | {}             |              | 
index 6be8b456aafa89864520dac83cd62631d18f0361..3cf34524d349f0fa8a0746ead37df577b9538fce 100644 (file)
@@ -100,7 +100,7 @@ SELECT length(to_tsvector('english', '345 qwe@efd.r '' http://www.com/ http://ae
 
 -- ts_debug
 
-SELECT * from ts_debug('<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
+SELECT * from ts_debug('english', '<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
 
 -- to_tsquery