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

53.62. pg_ts_parser #

The <structname>pg_ts_parser</structname> catalog contains entries defining text search parsers. A parser is responsible for splitting input text into lexemes and assigning a token type to each lexeme. Since a parser must be implemented by C-language-level functions, creation of new parsers is restricted to database superusers. pg_ts_parserカタログはテキスト検索パーサを定義する項目を含みます。 パーサは、入力テキストを語彙素に分割することとトークン型を語彙素に割り当てることに責任を持ちます。 パーサはC言語レベルの関数で実装されていなくてはいけないため、新規のパーサの作成はデータベースのスーパーユーザに制限されています。

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

表53.62 pg_ts_parserの列

<title><structname>pg_ts_parser</structname> Columns</title>

Column Type 列 型

Description 説明

oid oid

Row identifier 行識別子

prsname name

Text search parser name テキスト検索パーサの名称

prsnamespace 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 parser このパーサを含む名前空間のOID

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

OID of the parser's startup function パーサ起動関数のOID

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

OID of the parser's next-token function パーサの次のトークン関数のOID

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

OID of the parser's shutdown function パーサの終了関数のOID

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

OID of the parser's headline function (zero if none) パーサの見出し関数のOID(ない時はゼロ)

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

OID of the parser's lextype function パーサの字句型関数のOID