47.50. pg_ts_template

Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly. You can read PostgreSQL as Postgres-XC except for version number, which is specific to each product.

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.

PostgreSQL's text search features are described at length in Chapter 12.

Table 47-50. pg_ts_template Columns

NameTypeReferencesDescription
oidoid Row identifier (hidden attribute; must be explicitly selected)
tmplnamename Text search template name
tmplnamespaceoidpg_namespace.oid The OID of the namespace that contains this template
tmplinitregprocpg_proc.oidOID of the template's initialization function
tmpllexizeregprocpg_proc.oidOID of the template's lexize function