PG_TS_PARSER
PG_TS_PARSER 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.
|
Name |
Type |
Reference |
Description |
|---|---|---|---|
|
oid |
oid |
- |
Row identifier (hidden attribute, which must be specified) |
|
prsname |
name |
- |
Text search parser name |
|
prsnamespace |
oid |
oid in PG_NAMESPACE |
OID of the namespace that contains the parser |
|
prsstart |
regproc |
proname in PG_PROC |
Name of the parser's startup function |
|
prstoken |
regproc |
proname in PG_PROC |
Name of the parser's next-token function |
|
prsend |
regproc |
proname in PG_PROC |
Name of the parser's shutdown function |
|
prsheadline |
regproc |
proname in PG_PROC |
Name of the parser's headline function |
|
prslextype |
regproc |
proname in PG_PROC |
Name of the parser's lextype function |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.