Fix typo related to to_tsvector() in tests of json and jsonb
Author: Sho Kato Reviewed-by: Kyotaro Horiguchi Discussion: https://postgr.es/m/25C1C6B2E7BE044889E4FE8643A58BA963E1D03D@G01JPEXMBKW03
This commit is contained in:
parent
bb16aba50c
commit
4e197bf195
|
@ -2427,7 +2427,7 @@ select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d":
|
|||
'123':5 '456':7 'aaa':1 'bbb':3
|
||||
(1 row)
|
||||
|
||||
-- ts_vector corner cases
|
||||
-- to_tsvector corner cases
|
||||
select to_tsvector('""'::json);
|
||||
to_tsvector
|
||||
-------------
|
||||
|
|
|
@ -4225,7 +4225,7 @@ select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d"
|
|||
'123':5 '456':7 'aaa':1 'bbb':3
|
||||
(1 row)
|
||||
|
||||
-- ts_vector corner cases
|
||||
-- to_tsvector corner cases
|
||||
select to_tsvector('""'::jsonb);
|
||||
to_tsvector
|
||||
-------------
|
||||
|
|
|
@ -788,7 +788,7 @@ select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d":
|
|||
select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"boolean"');
|
||||
select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '["string", "numeric"]');
|
||||
|
||||
-- ts_vector corner cases
|
||||
-- to_tsvector corner cases
|
||||
select to_tsvector('""'::json);
|
||||
select to_tsvector('{}'::json);
|
||||
select to_tsvector('[]'::json);
|
||||
|
|
|
@ -1114,7 +1114,7 @@ select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d"
|
|||
select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"boolean"');
|
||||
select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '["string", "numeric"]');
|
||||
|
||||
-- ts_vector corner cases
|
||||
-- to_tsvector corner cases
|
||||
select to_tsvector('""'::jsonb);
|
||||
select to_tsvector('{}'::jsonb);
|
||||
select to_tsvector('[]'::jsonb);
|
||||
|
|
Loading…
Reference in New Issue