aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-03-31 20:29:30 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2017-03-31 20:29:30 -0400
commitc281cd5fe178c946dc23eae4d4642be5ddbe3eb4 (patch)
tree526af2be7dd48feefb55b864a13e3a8154c9b829 /src
parentf1a285e21111f4d4d0c3f428ce2b3ae9e7f162c2 (diff)
downloadpostgresql-c281cd5fe178c946dc23eae4d4642be5ddbe3eb4.tar.gz
postgresql-c281cd5fe178c946dc23eae4d4642be5ddbe3eb4.zip
Fix unstable regression test result.
Whoops, missed that same test was made for json as well as jsonb.
Diffstat (limited to 'src')
-rw-r--r--src/test/regress/expected/json.out2
-rw-r--r--src/test/regress/sql/json.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/json.out b/src/test/regress/expected/json.out
index 47b2b6e6a58..a229472d54f 100644
--- a/src/test/regress/expected/json.out
+++ b/src/test/regress/expected/json.out
@@ -1689,7 +1689,7 @@ select to_tsvector('simple', '{"a": "aaa bbb ddd ccc", "b": ["eee fff ggg"], "c"
(1 row)
-- json to tsvector with stop words
-select to_tsvector('{"a": "aaa in bbb ddd ccc", "b": ["the eee fff ggg"], "c": {"d": "hhh. iii"}}'::json);
+select to_tsvector('english', '{"a": "aaa in bbb ddd ccc", "b": ["the eee fff ggg"], "c": {"d": "hhh. iii"}}'::json);
to_tsvector
----------------------------------------------------------------------------
'aaa':1 'bbb':3 'ccc':5 'ddd':4 'eee':8 'fff':9 'ggg':10 'hhh':12 'iii':13
diff --git a/src/test/regress/sql/json.sql b/src/test/regress/sql/json.sql
index 1acf4decd68..0973737289b 100644
--- a/src/test/regress/sql/json.sql
+++ b/src/test/regress/sql/json.sql
@@ -559,7 +559,7 @@ select to_tsvector('{"a": "aaa bbb ddd ccc", "b": ["eee fff ggg"], "c": {"d": "h
select to_tsvector('simple', '{"a": "aaa bbb ddd ccc", "b": ["eee fff ggg"], "c": {"d": "hhh iii"}}'::json);
-- json to tsvector with stop words
-select to_tsvector('{"a": "aaa in bbb ddd ccc", "b": ["the eee fff ggg"], "c": {"d": "hhh. iii"}}'::json);
+select to_tsvector('english', '{"a": "aaa in bbb ddd ccc", "b": ["the eee fff ggg"], "c": {"d": "hhh. iii"}}'::json);
-- ts_vector corner cases
select to_tsvector('""'::json);