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

Commite75a786

Browse files
committed
Clarify documentation of to_tsvector(json(b))
Per gripe from Sven R. Kunze
1 parent728bd99 commite75a786

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9569,7 +9569,10 @@ CREATE TYPE rainbow AS ENUM ('red', 'orange', 'yellow', 'green', 'blue', 'purple
95699569
<literal><function>to_tsvector(<optional> <replaceable class="PARAMETER">config</> <type>regconfig</> , </optional> <replaceable class="PARAMETER">document</> <type>json(b)</type>)</function></literal>
95709570
</entry>
95719571
<entry><type>tsvector</type></entry>
9572-
<entry>reduce document text to <type>tsvector</></entry>
9572+
<entry>
9573+
reduce each string value in the document to a <type>tsvector</>, and then
9574+
concatentate those in document order to produce a single <type>tsvector</>
9575+
</entry>
95739576
<entry><literal>to_tsvector('english', '{"a": "The Fat Rats"}'::json)</literal></entry>
95749577
<entry><literal>'fat':2 'rat':3</literal></entry>
95759578
</row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp