ALTER_TEXT_SEARCH_PARSER(7pg15)
π ALTER_TEXT_SEARCH_PARSER π
okay so bestie, welcome to the ALTER TEXT SEARCH PARSER page from the PostgreSQL 15.19 docs (it's a section 7 manual page, iykyk) β the glow-up page for your text search parsers β¨
πΈ NAME πΈ
ALTER_TEXT_SEARCH_PARSER β literally the command that changes the definition of a text search parser. that's the whole vibe π«Ά
π SYNOPSIS π
ALTER TEXT SEARCH PARSER name RENAME TO new_name
ALTER TEXT SEARCH PARSER name SET SCHEMA new_schema
two whole moods, pick your fighter π
β¨ DESCRIPTION β¨
so ALTER TEXT SEARCH PARSER changes the definition of a text search parser. iconic behavior honestly.
Currently, the only supported functionality is changing the parser's name β like, that's the only thing it does rn, no cap. not me expecting more π
π¨ vibe check / big important thing: you must be a superuser to use ALTER TEXT SEARCH PARSER. no superuser, no parser glow-up. periodt π
π¦ PARAMETERS π¦
nameβ the name of an existing text search parser. it's optionally schema-qualified, so you can be all fancy and precise about it if you want πnew_nameβ the new name of the text search parser. congrats on the rebrand bestie πnew_schemaβ the new schema for the text search parser. moving neighborhoods fr fr π‘
π COMPATIBILITY π
ngl there is no ALTER TEXT SEARCH PARSER statement in the SQL standard. not a single one. it's giving PostgreSQL-exclusive main character energy π
π SEE ALSO π
CREATE TEXT SEARCH PARSER(CREATE_TEXT_SEARCH_PARSER(7)) β for when you want to make one in the first placeDROP TEXT SEARCH PARSER(DROP_TEXT_SEARCH_PARSER(7)) β for when it's time to say bye π₯²
and that's the page! mwah π β brought to you by PostgreSQL 15.19, dated 2026, filed under ALTER TEX...CH PARSER(7) (yes the header really does truncate it like that, she's shy π). go alter those parsers, you absolute icon π§ββοΈπ
π¦ where this page comes from
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql15 15.19-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms