Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit689d02a

Browse files
committed
Fix a regression test that fails if default_text_search_config isn't
'english'.
1 parent05a381a commit689d02a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ SELECT length(to_tsvector('english', '345 qwe@efd.r '' http://www.com/ http://ae
392392
(1 row)
393393

394394
-- ts_debug
395-
SELECT * from ts_debug('<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
395+
SELECT * from ts_debug('english', '<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
396396
alias | description | token | dictionaries | dictionary | lexemes
397397
-----------+-----------------+----------------------------+----------------+--------------+---------
398398
tag | XML tag | <myns:foo-bar_baz.blurfl> | {} | |

‎src/test/regress/sql/tsearch.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ SELECT length(to_tsvector('english', '345 qwe@efd.r '' http://www.com/ http://ae
100100

101101
-- ts_debug
102102

103-
SELECT*from ts_debug('<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
103+
SELECT*from ts_debug('english','<myns:foo-bar_baz.blurfl>abc&nm1;def&#xa9;ghi&#245;jkl</myns:foo-bar_baz.blurfl>');
104104

105105
-- to_tsquery
106106

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp