ALTER_TEXT_SEARCH_TEMPLATE(7pg14)
π NAME π
okay bestie, welcome to ALTER_TEXT_SEARCH_TEMPLATE(7pg14) β the PostgreSQL 14.24 page for ALTER TEXT SEARCH TEMPLATE. This statement changes the definition of a text search template. It's lowkey giving "tiny admin command, big main character energy" β¨.
πΈ SYNOPSIS πΈ
ALTER TEXT SEARCH TEMPLATE name RENAME TO new_name
ALTER TEXT SEARCH TEMPLATE name SET SCHEMA new_schema
π¦ DESCRIPTION π¦
so ALTER TEXT SEARCH TEMPLATE changes the definition of a text search template. Currently, the only supported functionality is to change the template's name. That's it, that's the whole supported menu, bestie. π
You must be a superuser to use ALTER TEXT SEARCH TEMPLATE. Not optional, no cap β superuser status is required.
π PARAMETERS π
nameβ the name (optionally schema-qualified) of an existing text search template.new_nameβ the new name of the text search template.new_schemaβ the new schema for the text search template.
π COMPATIBILITY π
There is no ALTER TEXT SEARCH TEMPLATE statement in the SQL standard. So if someone asks, nope, it's not a standard SQL thing. π
π SEE ALSO π
CREATE TEXT SEARCH TEMPLATE(CREATE_TEXT_SEARCH_TEMPLATE(7))DROP TEXT SEARCH TEMPLATE(DROP_TEXT_SEARCH_TEMPLATE(7))
mwah π source/version: PostgreSQL 14.24; date: 2026; footer text: ALTER TEX... TEMPLATE(7). That's the whole page, bestie β periodt. π«Ά
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-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