Adjust tsearch test case and expected output based on testing feedback.
authorPavan Deolasee <[email protected]>
Tue, 11 Apr 2017 05:55:48 +0000 (11:25 +0530)
committerPavan Deolasee <[email protected]>
Fri, 5 May 2017 04:59:34 +0000 (10:29 +0530)
We don't really need to add ORDER BY since the results don't come from any
distributed table. This allows us to have consistent output from the test.

src/test/regress/sql/tsearch.sql

index ff2d2fe1e6f531f15ba2adfcf0c90643ed64610c..97bf38aabe5d3b6357fa96df19be8da848ac330a 100644 (file)
@@ -89,11 +89,11 @@ SELECT * FROM ts_stat('SELECT a FROM test_tsvector', 'AB') ORDER BY ndoc DESC, n
 SELECT ts_lexize('english_stem', 'skies');
 SELECT ts_lexize('english_stem', 'identity');
 
-SELECT * FROM ts_token_type('default') ORDER BY tokid;
+SELECT * FROM ts_token_type('default');
 
 SELECT * FROM ts_parse('default', '345 [email protected] '' http://www.com/ http://aew.werc.ewr/?ad=qwe&dw 1aew.werc.ewr/?ad=qwe&dw 2aew.werc.ewr http://3aew.werc.ewr/?ad=qwe&dw http://4aew.werc.ewr http://5aew.werc.ewr:8100/?  ad=qwe&dw 6aew.werc.ewr:8100/?ad=qwe&dw 7aew.werc.ewr:8100/?ad=qwe&dw=%20%32 +4.0e-10 qwe qwe qwqwe 234.435 455 5.005 [email protected] [email protected] [email protected] [email protected] qwe-wer asdf <fr>qwer jf sdjk<we hjwer <werrwe> ewr1> ewri2 <a href="qwe<qwe>">
 /usr/local/fff /awdf/dwqe/4325 rewt/ewr wefjn /wqe-324/ewr gist.h gist.h.c gist.c. readline 4.2 4.2. 4.2, readline-4.2 readline-4.2. 234
-<i <b> wow  < jqw <> qwerty') ORDER BY tokid,token;
+<i <b> wow  < jqw <> qwerty');
 
 SELECT to_tsvector('english', '345 [email protected] '' http://www.com/ http://aew.werc.ewr/?ad=qwe&dw 1aew.werc.ewr/?ad=qwe&dw 2aew.werc.ewr http://3aew.werc.ewr/?ad=qwe&dw http://4aew.werc.ewr http://5aew.werc.ewr:8100/?  ad=qwe&dw 6aew.werc.ewr:8100/?ad=qwe&dw 7aew.werc.ewr:8100/?ad=qwe&dw=%20%32 +4.0e-10 qwe qwe qwqwe 234.435 455 5.005 [email protected] [email protected] [email protected] [email protected] qwe-wer asdf <fr>qwer jf sdjk<we hjwer <werrwe> ewr1> ewri2 <a href="qwe<qwe>">
 /usr/local/fff /awdf/dwqe/4325 rewt/ewr wefjn /wqe-324/ewr gist.h gist.h.c gist.c. readline 4.2 4.2. 4.2, readline-4.2 readline-4.2. 234