Skip to content

Commit 4e197bf

Browse files
committed
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
1 parent bb16aba commit 4e197bf

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/test/regress/expected/json.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@ select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d":
24272427
'123':5 '456':7 'aaa':1 'bbb':3
24282428
(1 row)
24292429

2430-
-- ts_vector corner cases
2430+
-- to_tsvector corner cases
24312431
select to_tsvector('""'::json);
24322432
to_tsvector
24332433
-------------

src/test/regress/expected/jsonb.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4225,7 +4225,7 @@ select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d"
42254225
'123':5 '456':7 'aaa':1 'bbb':3
42264226
(1 row)
42274227

4228-
-- ts_vector corner cases
4228+
-- to_tsvector corner cases
42294229
select to_tsvector('""'::jsonb);
42304230
to_tsvector
42314231
-------------

src/test/regress/sql/json.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d":
788788
select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"boolean"');
789789
select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '["string", "numeric"]');
790790

791-
-- ts_vector corner cases
791+
-- to_tsvector corner cases
792792
select to_tsvector('""'::json);
793793
select to_tsvector('{}'::json);
794794
select to_tsvector('[]'::json);

src/test/regress/sql/jsonb.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1114,7 +1114,7 @@ select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d"
11141114
select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"boolean"');
11151115
select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '["string", "numeric"]');
11161116

1117-
-- ts_vector corner cases
1117+
-- to_tsvector corner cases
11181118
select to_tsvector('""'::jsonb);
11191119
select to_tsvector('{}'::jsonb);
11201120
select to_tsvector('[]'::jsonb);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy