mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Fix unstable regression test result.
Whoops, missed that same test was made for json as well as jsonb.
This commit is contained in:
parent
f1a285e211
commit
c281cd5fe1
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user