Text Size: Normal / Large

44.39. pg_ts_parser

The pg_ts_parser 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.

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

Table 44-39. pg_ts_parser Columns

NameTypeReferencesDescription
prsnamename Text search parser name
prsnamespaceoidpg_namespace.oid The OID of the namespace that contains this parser
prsstartregprocpg_proc.oidOID of the parser's startup function
prstokenregprocpg_proc.oidOID of the parser's next-token function
prsendregprocpg_proc.oidOID of the parser's shutdown function
prsheadlineregprocpg_proc.oidOID of the parser's headline function
prslextyperegprocpg_proc.oidOID of the parser's lextype function

User Comments

No comments could be found for this page.

Add Comment

Please use this form to add your own comments regarding your experience with particular features of PostgreSQL, clarifications of the documentation, or hints for other users. Please note, this is not a support forum, and your IP address will be logged. If you have a question or need help, please see the faq, try a mailing list, or join us on IRC. Note that submissions containing URLs or other keywords commonly found in 'spam' comments may be silently discarded. Please contact the webmaster if you think this is happening to you in error.

In order to submit a comment, you must have a community account.

* Comment
 

* denotes required field

Privacy Policy | Project hosted by our server sponsors. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group