Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e197bf

Browse files
committed
Fix typo related to to_tsvector() in tests of json and jsonb
Author: Sho KatoReviewed-by: Kyotaro HoriguchiDiscussion:https://postgr.es/m/25C1C6B2E7BE044889E4FE8643A58BA963E1D03D@G01JPEXMBKW03
1 parentbb16aba commit4e197bf

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)

[8]ページ先頭

©2009-2025 Movatter.jp