RefLib

Reference library for AI

Back

postgresql_16:7.1.88.2 Parameters

PostgreSQL 16 > Reference > SQL Commands > CREATE TEXT SEARCH PARSER > Parameters

*name*

The name of the text search parser to be created. The name can be schema-qualified.

*start_function*

The name of the start function for the parser.

*gettoken_function*

The name of the get-next-token function for the parser.

*end_function*

The name of the end function for the parser.

*lextypes_function*

The name of the lextypes function for the parser (a function that returns information about the set of token types it produces).

*headline_function*

The name of the headline function for the parser (a function that summarizes a set of tokens).

The function names can be schema-qualified if necessary. Argument types are not given, since the argument list for each type of function is predetermined. All except the headline function are required.

The arguments can appear in any order, not only the one shown above.

Back