ALTER_TEXT_SEARCH_PARSER(7pg17)
π ALTER TEXT SEARCH PARSER π
okay bestie, real talk: this one's from the PostgreSQL 17 docs (the 7 manual, iykyk) and it's honestly a tiny little icon of a command. no cap, it does like two things total and both of them are "give it a different name." slay.
β¨ 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. literally that's the whole vibe π
and like⦠currently, the only supported functionality is to change the parser's name. that's it. that's the feature set. she's minimal but she's iconic.
β οΈ heads up bestie: you must be a superuser to use ALTER TEXT SEARCH PARSER. no superuser, no slay. it's giving exclusive.
π PARAMETERS π
nameβ the name (optionally schema-qualified) of an existing text search parser. like, the one you're about to mess with πnew_nameβ the new name of the text search parser. glow-up name, basically β¨new_schemaβ the new schema for the text search parser. moving her to a different neighborhood π‘
π COMPATIBILITY π
there is no ALTER TEXT SEARCH PARSER statement in the SQL standard. not a single crumb. π so if you're out here looking for it in the standard, don't bother β it's not there, fr fr.
π SEE ALSO π
CREATE TEXT SEARCH PARSER(CREATE_TEXT_SEARCH_PARSER(7))DROP TEXT SEARCH PARSER(DROP_TEXT_SEARCH_PARSER(7))
π«Ά and that's the whole page, bestie. this masterpiece is PostgreSQL 17.11, dated 2026 β go forth and rename responsibly. periodt. ππ§ββοΈ
π¦ where this page comes from
- opensuse-leap 16.0: postgresql17 17.11-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql17 17.11-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql17 17.11-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql17 17.11-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