PG_TS_PARSER
PG_TS_PARSER records entries defining text search parsers. A parser splits input text into lexemes and assigns a token type to each lexeme. Since a parser must be implemented by C functions, parsers can be created only by database administrators.
Name |
Type |
Reference |
Description |
---|---|---|---|
oid |
oid |
N/A |
Row identifier (hidden attribute; displayed only when explicitly selected) |
prsname |
name |
N/A |
Text search parser name |
prsnamespace |
oid |
PG_NAMESPACE.oid |
OID of the namespace that contains the parser |
prsstart |
regproc |
PG_PROC.oid |
OID of the parser's startup function |
prstoken |
regproc |
PG_PROC.oid |
OID of the parser's next-token function |
prsend |
regproc |
PG_PROC.oid |
OID of the parser's shutdown function |
prsheadline |
regproc |
PG_PROC.oid |
OID of the parser's headline function |
prslextype |
regproc |
PG_PROC.oid |
OID 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.