バージョンごとのドキュメント一覧

53.63. pg_ts_template #

The <structname>pg_ts_template</structname> 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. pg_ts_templateカタログはテキスト検索テンプレートを定義する項目を含みます。 テンプレートはテキスト検索辞書クラスの骨格を実装したものです。 テンプレートはC言語レベルの関数で実装されなくてはいけないため、新規のテンプレートの作成はデータベースのスーパーユーザに制限されています。

<productname>PostgreSQL</productname>'s text search features are described at length in <xref linkend="textsearch"/>. PostgreSQLのテキスト検索機能については第12章で詳しく説明します。

表53.63 pg_ts_templateの列

<title><structname>pg_ts_template</structname> Columns</title>

Column Type 列 型

Description 説明

oid oid

Row identifier 行識別子

tmplname name

Text search template name テキスト検索テンプレートの名称

tmplnamespace oid (references <link linkend="catalog-pg-namespace"><structname>pg_namespace</structname></link>.<structfield>oid</structfield>) (参照先 pg_namespace.oid

The OID of the namespace that contains this template このテンプレートを含む名前空間のOID

tmplinit regproc (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

OID of the template's initialization function (zero if none) テンプレートの初期化関数のOID(ない時はゼロ)

tmpllexize regproc (references <link linkend="catalog-pg-proc"><structname>pg_proc</structname></link>.<structfield>oid</structfield>) (参照先 pg_proc.oid

OID of the template's lexize function テンプレートの字句関数のOID