ALTER_TEXT_SEARCH_TEMPLATE(7pg17)
π NAME π
okay so this is the ALTER_TEXT_SEARCH_TEMPLATE(7pg17) page β officially the ALTER TEXT SEARCH TEMPLATE(7) manual page. The command is ALTER_TEXT_SEARCH_TEMPLATE, and it changes the definition of a text search template. That's the whole NAME-section tea. π΅β¨
π 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 what the page says, bestie β we keep every detail, no editing the lore.
π¨ superuser check: You must be a superuser to use ALTER TEXT SEARCH TEMPLATE. No cap, no side door mentioned here.
πΈ PARAMETERS πΈ
nameβ the name of an existing text search template; it's optionally schema-qualified.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. That's the compatibility note, periodt. π
π«Ά SEE ALSO π«Ά
CREATE TEXT SEARCH TEMPLATE(CREATE_TEXT_SEARCH_TEMPLATE(7))DROP TEXT SEARCH TEMPLATE(DROP_TEXT_SEARCH_TEMPLATE(7))
mwah π this iconic page is from PostgreSQL 17.11, dated 2026, and it's the ALTER TEXT SEARCH TEMPLATE(7) page. Byeee, go be your superuser main character self π«Άπ
π¦ 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