# phpman > man > ALTER_TEXT_SEARCH_PARSER(7)

ALTER TEXT SEARCH [PARSER(7)](https://www.chedong.com/phpMan.php/man/PARSER/7/markdown)        PostgreSQL 14.23 Documentation        ALTER TEXT SEARCH [PARSER(7)](https://www.chedong.com/phpMan.php/man/PARSER/7/markdown)



## NAME
       ALTER_TEXT_SEARCH_PARSER - change the definition of a text search parser

## SYNOPSIS
       ALTER TEXT SEARCH PARSER _name_ RENAME TO _new_name_
       ALTER TEXT SEARCH PARSER _name_ SET SCHEMA _new_schema_

## DESCRIPTION
       **ALTER** **TEXT** **SEARCH** **PARSER** 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 **ALTER** **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.

## COMPATIBILITY
       There is no **ALTER** **TEXT** **SEARCH** **PARSER** statement in the SQL standard.

## SEE ALSO
       CREATE TEXT SEARCH PARSER (**CREATE**___**TEXT**___**SEARCH**___**[PARSER**(7)](https://www.chedong.com/phpMan.php/man/PARSER/7/markdown)), DROP TEXT SEARCH PARSER
       (**DROP**___**TEXT**___**SEARCH**___**[PARSER**(7)](https://www.chedong.com/phpMan.php/man/PARSER/7/markdown))



PostgreSQL 14.23                                2026                     ALTER TEXT SEARCH [PARSER(7)](https://www.chedong.com/phpMan.php/man/PARSER/7/markdown)
