{"Entry":{"collection":"catalog","key":"pg_ts_template","name":"pg_ts_template","aliases":[],"metadata":{"changed_in":["12"],"changes":[{"added":[],"attributes":[],"description_changed":false,"descriptions":[],"from":"8.2","order":false,"removed":[],"status":"added","to":"8.3","types":[]},{"added":[],"attributes":[{"attribute":"hidden","from":true,"name":"oid","to":false}],"description_changed":false,"descriptions":[],"from":"11","listing":[],"order":false,"removed":[],"status":"changed","to":"12","types":[],"unlisted":[]},{"added":[],"attributes":[],"description_changed":false,"descriptions":[{"from":"OID of the template's initialization function","name":"tmplinit","to":"OID of the template's initialization function (zero if none)"}],"from":"13","listing":[],"order":false,"removed":[],"status":"reworded","to":"14","types":[],"unlisted":[]}],"column_count":5,"content_hash":"1d4c4e681ca8914f73c55732da461c9465f6485ac40261527224f27a7c625e49","first_version":"8.3","imported_at":"2026-09-30T00:40:56.342643+08:00","kind":"catalog","last_version":"20","name":"pg_ts_template","position":148,"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"],"relation_oid":null,"relkind":"r","shared":false,"source_rev":"english-manuals:396542aeb1f96f6a5f0e2f07f62999fb0d54927465d113cf7be5c3c7f794b190","summary":"The pg_ts_template catalog contains entries defining text search templates.","summary_zh":""}},"Definition":{"Collection":"catalog","Key":"pg_ts_template","SourceDatabase":"center","Version":"18","SourceTable":"catalog","SourceKey":"pg_ts_template","SourceRevision":"english-manuals:396542aeb1f96f6a5f0e2f07f62999fb0d54927465d113cf7be5c3c7f794b190","Facts":{"columns":[{"array_dimensions":0,"attnum":1,"description":"Row identifier","description_zh":"","documented":true,"documented_name":"oid","hidden":false,"name":"oid","not_null":true,"references":"","type":"oid","type_modifier":-1,"type_oid":26},{"array_dimensions":0,"attnum":2,"description":"Text search template name","description_zh":"","documented":true,"documented_name":"tmplname","hidden":false,"name":"tmplname","not_null":true,"references":"","type":"name","type_modifier":-1,"type_oid":19},{"array_dimensions":0,"attnum":3,"description":"The OID of the namespace that contains this template","description_zh":"","documented":true,"documented_name":"tmplnamespace","hidden":false,"name":"tmplnamespace","not_null":true,"references":"pg_namespace.oid","type":"oid","type_modifier":-1,"type_oid":26},{"array_dimensions":0,"attnum":4,"description":"OID of the template's initialization function (zero if none)","description_zh":"","documented":true,"documented_name":"tmplinit","hidden":false,"name":"tmplinit","not_null":true,"references":"pg_proc.oid","type":"regproc","type_modifier":-1,"type_oid":24},{"array_dimensions":0,"attnum":5,"description":"OID of the template's lexize function","description_zh":"","documented":true,"documented_name":"tmpllexize","hidden":false,"name":"tmpllexize","not_null":true,"references":"pg_proc.oid","type":"regproc","type_modifier":-1,"type_oid":24}],"description":"The pg_ts_template catalog contains entries defining text search templates. A template is the implementation skeleton for a class of text search dictionaries. Since a template must be implemented by C-language-level functions, creation of new templates is restricted to database superusers.\n\nPostgreSQL's text search features are described at length in Chapter 12.","description_zh":"","doc":{"anchor":"id-1.10.4.65.5","file":"catalog-pg-ts-template.html","lang":"en","sha256":"d454712714b09726474c51ed3dcdc830cdd4b16a539764d1d035932fe7bcfb26","slug":"18"},"kind":"catalog","lang":"en","measured_attributes":true,"metadata_release":"18.6","runtime_columns":["oid","tmplname","tmplnamespace","tmplinit","tmpllexize"],"runtime_verified":false,"source":"english-manual"},"ManualEvidence":{"doc":{"anchor":"id-1.10.4.65.5","file":"catalog-pg-ts-template.html","lang":"en","sha256":"d454712714b09726474c51ed3dcdc830cdd4b16a539764d1d035932fe7bcfb26","slug":"18"}},"MeasuredEvidence":{"measured_attributes":true,"metadata_release":"18.6","runtime_columns":["oid","tmplname","tmplnamespace","tmplinit","tmpllexize"],"runtime_verified":false}},"Text":{"Collection":"catalog","Key":"pg_ts_template","SourceDatabase":"pgweb","Version":"18","Locale":"zh-Hans","Title":"pg_ts_template","Summary":"pg_ts_template系统目录包含定义文本检索模板的项。一个模板是一类文本检索词典的实现骨架。由于一个模板必须用 C 语言级别的函数实现，新模板的创建只限于数据库超级用户。\n\nPostgreSQL的文本检索特性在第 12 章中有更详尽的描述。","BodyHTML":"\u003cp\u003epg_ts_template系统目录包含定义文本检索模板的项。一个模板是一类文本检索词典的实现骨架。由于一个模板必须用 C 语言级别的函数实现，新模板的创建只限于数据库超级用户。\n\nPostgreSQL的文本检索特性在第 12 章中有更详尽的描述。\u003c/p\u003e","SourceRevision":"2026-09-27@419045e","ContentHash":"9832526b905120f0b0e632e65389cb922e6b814ac319d2c1de65573f3f2b3262","Payload":{"columns":[{"description_zh":"行标识符","name":"oid","type":"oid","zh_from":"doc"},{"description_zh":"文本检索模板的名字","name":"tmplname","type":"name","zh_from":"doc"},{"description_zh":"包含此模板的名字空间的OID","name":"tmplnamespace","type":"oid","zh_from":"doc"},{"description_zh":"模板的初始化函数的OID（没有则为零）","name":"tmplinit","type":"regproc","zh_from":"doc"},{"description_zh":"模板的 lexize 函数的 OID","name":"tmpllexize","type":"regproc","zh_from":"doc"}],"description_zh":"pg_ts_template系统目录包含定义文本检索模板的项。一个模板是一类文本检索词典的实现骨架。由于一个模板必须用 C 语言级别的函数实现，新模板的创建只限于数据库超级用户。\n\nPostgreSQL的文本检索特性在第 12 章中有更详尽的描述。","zh_from":"doc"}},"RequestedLocale":"zh-Hans","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":null,"Spellings":null,"SQLState":null,"Evidence":null}
