ALTER_TEXT_SEARCH_PARSER - change the definition of a text search parser
Contents
Compatibility
There is no ALTERTEXTSEARCHPARSER statement in the SQL standard.
Description
ALTERTEXTSEARCHPARSER changes the definition of a text search parser. Currently, the only supported
functionality is to change the parser's name.
You must be a superuser to use ALTERTEXTSEARCHPARSER.
Name
ALTER_TEXT_SEARCH_PARSER - change the definition of a text search parser
Parameters
name
The name (optionally schema-qualified) of an existing text search parser.
new_name
The new name of the text search parser.
new_schema
The new schema for the text search parser.
See Also
CREATE TEXT SEARCH PARSER (CREATE_TEXT_SEARCH_PARSER(7)), DROP TEXT SEARCH PARSER
(DROP_TEXT_SEARCH_PARSER(7))
PostgreSQL 17.5 2025 ALTERTEXTSEARCHPARSER(7)
Synopsis
ALTER TEXT SEARCH PARSER name RENAME TO new_name
ALTER TEXT SEARCH PARSER name SET SCHEMA new_schema
