{"Entry":{"collection":"func","key":"ts-token-type","name":"ts_token_type","aliases":[],"metadata":{"changed_in":[],"changes":[{"descriptions_changed":false,"doc_overhaul":false,"from":"8.2","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"added","to":"8.3"},{"descriptions_changed":false,"doc_overhaul":true,"from":"12","group_changed":null,"signatures":{"added":[],"removed":[]},"status":"changed","to":"13"}],"content_hash":"a20cfbf37676815f9cdef78cca32824e54603064db112aba95b9d72005de1192","derived_content_hash":"bd30e901a0dd6fac021da9e86d76567a5c1addfe70a9dba777ef60d8b3460a09","documentation_refresh":{"batch":"20261113","original_source_rev":"wiki-repair-20261023:02d75fb7d7ecd38dee65fb1cf14e1bcb073bb8e363d55332296557fdd673f8b0","versions":{"14":"14.25","15":"15.20","16":"16.16","17":"17.12","18":"18.7","19":"19rc2"}},"first_version":"8.3","group":"textsearch","group_label":"Text Search Functions And Operators","groups":["textsearch"],"imported_at":"2026-09-27T17:57:28.742043+08:00","last_version":"20","name":"ts_token_type","name_key":"ts_token_type","position":12022,"present_in":["8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6","10","11","12","13","14","15","16","17","18","19","20"],"repair_provenance":{"original_source_revision":"wiki-repair-20261023:dd6917ffe09ff6ea9769ac708195efba9db47c4975959a5cd2ccf57e717b2b12","receipt_sha256":"f020c8a79bc52b589951d731377c5fad61d50d25e991568a0a77cb22eda6e33f","repair":"wiki-repair-20261023"},"signature":"ts_token_type ( parser_name text ) → setof record ( tokid integer, alias text, description text )","signature_count":2,"slug":"ts-token-type","source_rev":"wiki-repair-20261023:02d75fb7d7ecd38dee65fb1cf14e1bcb073bb8e363d55332296557fdd673f8b0","summary":"Returns a table that describes each type of token the named parser can recognize.","summary_zh":""}},"Definition":{"Collection":"func","Key":"ts-token-type","SourceDatabase":"center","Version":"18","SourceTable":"func","SourceKey":"ts-token-type","SourceRevision":"wiki-repair-20261023:02d75fb7d7ecd38dee65fb1cf14e1bcb073bb8e363d55332296557fdd673f8b0","Facts":{"description":"Returns a table that describes each type of token the named parser can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token the named parser can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","doc":{"anchor":"TEXTSEARCH-FUNCTIONS-DEBUG-TABLE","file":"functions-textsearch.html","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","slug":"18"},"documentation_revision":{"inputs":[{"file":"functions-textsearch.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","version":"18.7"},{"file":"functions-textsearch.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"d8d1661c6d67bb109c5266be16236950471c11d91181aafa96e9055792c4fa78","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"},"group":"textsearch","group_label":"文本搜索函数和操作符","lang":"en","layout":"table-new","pages":["functions-textsearch.html"],"prose_only":false,"signatures":[{"description":"Returns a table that describes each type of token the named parser can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token the named parser can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","examples":[{"expr":"ts_token_type('default')","result":"(1,asciiword,\"Word, all ASCII\") ..."}],"html":"\u003ccode class=\"function\"\u003ets_token_type\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eparser_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etokid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ealias\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"ts_token_type ( parser_name text ) → setof record ( tokid integer, alias text, description text )","zh_from":"same-version-manual"},{"description":"Returns a table that describes each type of token a parser specified by OID can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token a parser specified by OID can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述 OID 指定的解析器可以识别的每种词元类型。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述 OID 指定的解析器可以识别的每种词元类型。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","examples":[{"expr":"ts_token_type(3722)","result":"(1,asciiword,\"Word, all ASCII\") ..."}],"html":"\u003ccode class=\"function\"\u003ets_token_type\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eparser_oid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etokid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ealias\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"ts_token_type ( parser_oid oid ) → setof record ( tokid integer, alias text, description text )","zh_from":"same-version-manual"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/functions-textsearch.html","sha256":"8401bb0d06633da86885cceee001a41a7bc026a1e7cb38731a171ec09f7e10a4"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-manual"},"ManualEvidence":{"doc":{"anchor":"TEXTSEARCH-FUNCTIONS-DEBUG-TABLE","file":"functions-textsearch.html","sha256":"2383d74fd6eee4b71e1b97dec9754623081103120b67a9793f8deac5fff77727","slug":"18"}},"MeasuredEvidence":{}},"Text":{"Collection":"func","Key":"ts-token-type","SourceDatabase":"center","Version":"18","Locale":"en","Title":"ts_token_type","Summary":"Returns a table that describes each type of token the named parser can recognize. See Section 12.8.2 for details.","BodyHTML":"Returns a table that describes each type of token the named parser can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" rel=\"nofollow\"\u003eSection 12.8.2\u003c/a\u003e for details.","SourceRevision":"wiki-repair-20261023:02d75fb7d7ecd38dee65fb1cf14e1bcb073bb8e363d55332296557fdd673f8b0","ContentHash":"04780720fe96425954209606f04547e8aff7d0dcd3a8622e14e64672d1326fd1","Payload":{"description":"Returns a table that describes each type of token the named parser can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token the named parser can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","signatures":[{"description":"Returns a table that describes each type of token the named parser can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token the named parser can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","examples":[{"expr":"ts_token_type('default')","result":"(1,asciiword,\"Word, all ASCII\") ..."}],"html":"\u003ccode class=\"function\"\u003ets_token_type\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eparser_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etokid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ealias\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"ts_token_type ( parser_name text ) → setof record ( tokid integer, alias text, description text )","zh_from":"same-version-manual"},{"description":"Returns a table that describes each type of token a parser specified by OID can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token a parser specified by OID can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述 OID 指定的解析器可以识别的每种词元类型。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述 OID 指定的解析器可以识别的每种词元类型。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","examples":[{"expr":"ts_token_type(3722)","result":"(1,asciiword,\"Word, all ASCII\") ..."}],"html":"\u003ccode class=\"function\"\u003ets_token_type\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eparser_oid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etokid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ealias\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"ts_token_type ( parser_oid oid ) → setof record ( tokid integer, alias text, description text )","zh_from":"same-version-manual"}]}},"RequestedLocale":"en","Fallback":false,"Versions":["10","11","12","13","14","15","16","17","18","19","20","8.3","8.4","9.0","9.1","9.2","9.3","9.4","9.5","9.6"],"Locales":["en","zh-Hans"],"Signatures":[{"Version":"18","Ordinal":0,"Hash":"523b2b1f83e98a127c7894a409366914ea094fa89a7ab6b0785a0b58e0f5a717","Text":"ts_token_type ( parser_name text ) → setof record ( tokid integer, alias text, description text )","Returns":"setof record","Payload":{"description":"Returns a table that describes each type of token the named parser can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token the named parser can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述指定名称的解析器可以识别的每种类型的词元。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","examples":[{"expr":"ts_token_type('default')","result":"(1,asciiword,\"Word, all ASCII\") ..."}],"html":"\u003ccode class=\"function\"\u003ets_token_type\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eparser_name\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etokid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ealias\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"ts_token_type ( parser_name text ) → setof record ( tokid integer, alias text, description text )","zh_from":"same-version-manual"}},{"Version":"18","Ordinal":1,"Hash":"5cbdb8068462c2395bcdbd92d61387edf869a22eaae55b4405a3fb69e7722e1b","Text":"ts_token_type ( parser_oid oid ) → setof record ( tokid integer, alias text, description text )","Returns":"setof record","Payload":{"description":"Returns a table that describes each type of token a parser specified by OID can recognize. See Section 12.8.2 for details.","description_html":"Returns a table that describes each type of token a parser specified by OID can recognize. See \u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. Parser Testing\"\u003eSection 12.8.2\u003c/a\u003e for details.","description_zh":"返回一个表，该表描述 OID 指定的解析器可以识别的每种词元类型。详情参见第 12.8.2 节。","description_zh_html":"返回一个表，该表描述 OID 指定的解析器可以识别的每种词元类型。详情参见\u003ca href=\"/docs/18/textsearch-debugging.html#TEXTSEARCH-PARSER-TESTING\" title=\"12.8.2. 解析器测试\"\u003e第 12.8.2 节\u003c/a\u003e。","examples":[{"expr":"ts_token_type(3722)","result":"(1,asciiword,\"Word, all ASCII\") ..."}],"html":"\u003ccode class=\"function\"\u003ets_token_type\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003eparser_oid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003eoid\u003c/code\u003e ) → \u003ccode class=\"returnvalue\"\u003esetof record\u003c/code\u003e ( \u003cem class=\"parameter\"\u003e\u003ccode\u003etokid\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003einteger\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003ealias\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e, \u003cem class=\"parameter\"\u003e\u003ccode\u003edescription\u003c/code\u003e\u003c/em\u003e \u003ccode class=\"type\"\u003etext\u003c/code\u003e )","returns":"setof record","text":"ts_token_type ( parser_oid oid ) → setof record ( tokid integer, alias text, description text )","zh_from":"same-version-manual"}}],"Spellings":null,"SQLState":null,"Evidence":null}
