Updated on 2024-09-02 GMT+08:00

PG_TS_TEMPLATE

PG_TS_TEMPLATE records entries defining text search templates. A template provides a framework for text search dictionaries. Since a template must be implemented by C functions, templates can be created only by database administrators.

Table 1 PG_TS_TEMPLATE columns

Name

Type

Reference

Description

oid

oid

-

Row identifier (hidden attribute; must be explicitly selected)

tmplname

name

-

Text search template name

tmplnamespace

oid

PG_NAMESPACE.oid

OID of the namespace that contains the template

tmplinit

regproc

PG_PROC.oid

OID of the template's initialization function

tmpllexize

regproc

PG_PROC.oid

OID of the template's lexize function