| array_to_tsvector(text[]) | tsvector | 語彙素の配列を tsvectorに変換 | array_to_tsvector('{fat,cat,rat}'::text[]) | 'cat' 'fat' 'rat' | 
| get_current_ts_config() | regconfig | デフォルトのテキスト検索設定の取得 | get_current_ts_config() | english | 
| length(tsvector) | integer | tsvectorにある語彙素の数 | length('fat:2,4 cat:3 rat:5A'::tsvector) | 3 | 
| numnode(tsquery) | integer | tsqueryにある語彙素の数と演算子の数の和 |  numnode('(fat & rat) | cat'::tsquery) | 5 | 
| plainto_tsquery([ configregconfig, ]querytext) | tsquery | 句読点を無視して、 tsqueryを作成 | plainto_tsquery('english', 'The Fat Rats') | 'fat' & 'rat' | 
| phraseto_tsquery([ configregconfig, ]querytext) | tsquery | 句読点を無視して、語句を検索する tsqueryを生成 | phraseto_tsquery('english', 'The Fat Rats') | 'fat' <-> 'rat' | 
| websearch_to_tsquery([ configregconfig, ]querytext) | tsquery | web検索形式の問い合わせから tsqueryを生成 | websearch_to_tsquery('english', '"fat rat" or rat') | 'fat' <-> 'rat' | 'rat' | 
| querytree(querytsquery) | text | tsqueryのインデックス付け可能部分の取得 | querytree('foo & ! bar'::tsquery) | 'foo' | 
| setweight(vectortsvector,weight"char") | tsvector | vectorの各要素にweightを割り当てる | setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A') | 'cat':3A 'fat':2A,4A 'rat':5A | 
| setweight(vectortsvector,weight"char",lexemestext[]) | tsvector | lexemesに列挙されたvectorの要素にweightを割り当てる | setweight('fat:2,4 cat:3 rat:5B'::tsvector, 'A', '{cat,rat}') | 'cat':3A 'fat':2,4 'rat':5A | 
| strip(tsvector) | tsvector | tsvectorから位置と重みを削除 | strip('fat:2,4 cat:3 rat:5A'::tsvector) | 'cat' 'fat' 'rat' | 
| to_tsquery([ configregconfig, ]querytext) | tsquery | 単語(複数)を正規化し tsqueryに変換 | to_tsquery('english', 'The & Fat & Rats') | 'fat' & 'rat' | 
| to_tsvector([ configregconfig, ]documenttext) | tsvector | ドキュメントテキストを tsvectorに縮小 | to_tsvector('english', 'The Fat Rats') | 'fat':2 'rat':3 | 
| to_tsvector([ configregconfig, ]documentjson(b)) | tsvector | ドキュメント内の各文字列の値を tsvectorに縮小し、それを繋げて一つのtsvectorにする | to_tsvector('english', '{"a": "The Fat Rats"}'::json) | 'fat':2 'rat':3 | 
| json(b)_to_tsvector([ configregconfig,
         ]documentjson(b),filterjson(b)) | tsvector | filterによって指定された文書中の各々の値をtsvectorにまとめ、次に文書にあらわれる順にそれらを結合して単一のtsvectorを生成します。filterはjsonbの配列で、結果のtsvectorにどの種類の要素を含める必要があるのかを列挙します。filterに指定可能な値は、"string"(すべての文字列値を含める)、"numeric"(すべての文字列形式の数値を含める)、"key"(すべてのキーを含める)、"all"(それらすべてを含める)です。
これらの値は、たとえばすべての文字列と数値、のように組み合わせることができます。 | json_to_tsvector('english', '{"a": "The Fat Rats", "b": 123}'::json, '["string", "numeric"]') | '123':5 'fat':2 'rat':3 | 
| ts_delete(vectortsvector,lexemetext) | tsvector | vectorから指定のlexemeを削除する | ts_delete('fat:2,4 cat:3 rat:5A'::tsvector, 'fat') | 'cat':3 'rat':5A | 
| ts_delete(vectortsvector,lexemestext[]) | tsvector | vectorからlexemes内にある語彙素の出現のすべてを削除する | ts_delete('fat:2,4 cat:3 rat:5A'::tsvector, ARRAY['fat','rat']) | 'cat':3 | 
| ts_filter(vectortsvector,weights"char"[]) | tsvector | vectorから指定のweightsの要素のみを選択する | ts_filter('fat:2,4 cat:3b rat:5A'::tsvector, '{a,b}') | 'cat':3B 'rat':5A | 
| ts_headline([ configregconfig, ]documenttext,querytsquery[,optionstext]) | text | 問い合わせによるマッチを表示 | ts_headline('x y z', 'z'::tsquery) | x y <b>z</b> | 
| ts_headline([ configregconfig, ]documentjson(b),querytsquery[,optionstext]) | text | 問い合わせによるマッチを表示 | ts_headline('{"a":"x y z"}'::json, 'z'::tsquery) | {"a":"x y <b>z</b>"} | 
| ts_rank([ weightsfloat4[], ]vectortsvector,querytsquery[,normalizationinteger]) | float4 | 問い合わせのためのドキュメント順位付け | ts_rank(textsearch, query) | 0.818 | 
| ts_rank_cd([ weightsfloat4[], ]vectortsvector,querytsquery[,normalizationinteger]) | float4 | 被覆密度を用いた問い合わせのためのドキュメント順位付け | ts_rank_cd('{0.1, 0.2, 0.4, 1.0}', textsearch, query) | 2.01317 | 
| ts_rewrite(querytsquery,targettsquery,substitutetsquery) | tsquery | 問い合わせ内の targetをsubstituteで置換する | ts_rewrite('a & b'::tsquery, 'a'::tsquery, 'foo|bar'::tsquery) | 'b' & ( 'foo' | 'bar' ) | 
| ts_rewrite(querytsquery,selecttext) | tsquery | SELECTから対象と代替を使用して置換 | SELECT ts_rewrite('a & b'::tsquery, 'SELECT t,s FROM aliases') | 'b' & ( 'foo' | 'bar' ) | 
| tsquery_phrase(query1tsquery,query2tsquery) | tsquery | query1の後にquery2が続くものを検索する問い合わせを作成する(<->演算子と同じ) | tsquery_phrase(to_tsquery('fat'), to_tsquery('cat')) | 'fat' <-> 'cat' | 
| tsquery_phrase(query1tsquery,query2tsquery,distanceinteger) | tsquery | query1の後にdistanceの距離でquery2があるものを検索する問い合わせを作成する | tsquery_phrase(to_tsquery('fat'), to_tsquery('cat'), 10) | 'fat' <10> 'cat' | 
| tsvector_to_array(tsvector) | text[] | tsvectorを語彙素の配列に変換する | tsvector_to_array('fat:2,4 cat:3 rat:5A'::tsvector) | {cat,fat,rat} | 
| tsvector_update_trigger() | trigger | tsvector列の自動更新のためのトリガ関数 | CREATE TRIGGER ... tsvector_update_trigger(tsvcol, 'pg_catalog.swedish', title, body) |  | 
| tsvector_update_trigger_column() | trigger | tsvector列の自動更新のためのトリガ関数 | CREATE TRIGGER ... tsvector_update_trigger_column(tsvcol, configcol, title, body) |  | 
| unnest(tsvector, OUTlexemetext, OUTpositionssmallint[], OUTweightstext) | setof record | tsvectorを行の集合に展開する | unnest('fat:2,4 cat:3 rat:5A'::tsvector) | (cat,{3},{D}) ... |