fix-typo-for-tsvector-v2.patch
application/octet-stream
Filename: fix-typo-for-tsvector-v2.patch
Type: application/octet-stream
Part: 0
Message:
RE: Fix typo in test code comments
Patch
Format: unified
Series: patch v2
| File | + | − |
|---|---|---|
| src/test/regress/expected/jsonb.out | 1 | 1 |
| src/test/regress/expected/json.out | 1 | 1 |
| src/test/regress/sql/jsonb.sql | 1 | 1 |
| src/test/regress/sql/json.sql | 1 | 1 |
diff --git a/src/test/regress/expected/json.out b/src/test/regress/expected/json.out
index 66d10ae30d..cb93598039 100644
--- a/src/test/regress/expected/json.out
+++ b/src/test/regress/expected/json.out
@@ -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
-------------
diff --git a/src/test/regress/expected/jsonb.out b/src/test/regress/expected/jsonb.out
index 8dcdaf5602..c251eb70be 100644
--- a/src/test/regress/expected/jsonb.out
+++ b/src/test/regress/expected/jsonb.out
@@ -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
-------------
diff --git a/src/test/regress/sql/json.sql b/src/test/regress/sql/json.sql
index d1e4008427..0f0a32e2a0 100644
--- a/src/test/regress/sql/json.sql
+++ b/src/test/regress/sql/json.sql
@@ -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);
diff --git a/src/test/regress/sql/jsonb.sql b/src/test/regress/sql/jsonb.sql
index 6cbdfe4395..1bf32076e3 100644
--- a/src/test/regress/sql/jsonb.sql
+++ b/src/test/regress/sql/jsonb.sql
@@ -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);