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:
Michael Paquier 2019-03-15 16:20:11 +09:00
parent bb16aba50c
commit 4e197bf195
4 changed files with 4 additions and 4 deletions

View File

@ -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
-------------

View File

@ -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
-------------

View File

@ -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);

View File

@ -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);