ALTER_TEXT_SEARCH_TEMPLATE(7pg15)
π NAME π
okay so this is the ALTER TEXT SEARCH TEMPLATE(7) page from the PostgreSQL 15.19 Documentation, and the main-character job is literally: ALTER_TEXT_SEARCH_TEMPLATE β change the definition of a text search template. Thatβs the vibe. π¦
β¨ SYNOPSIS β¨
Hereβs the exact shape of it, bestie β copy these verbatim:
ALTER TEXT SEARCH TEMPLATE name RENAME TO new_name
ALTER TEXT SEARCH TEMPLATE name SET SCHEMA new_schema
π¦ DESCRIPTION π¦
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 tea. π
β οΈ Important: you must be a superuser to use ALTER TEXT SEARCH TEMPLATE. No cap, this is not a drill. π
π PARAMETERS π
nameβ the name (optionally schema-qualified) of an existing text search template. iykyk β¨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 youβre looking for it in the standard, bestie, itβs giving absent. π
π SEE ALSO π
Go peek at these too:
CREATE TEXT SEARCH TEMPLATE(CREATE_TEXT_SEARCH_TEMPLATE(7))DROP TEXT SEARCH TEMPLATE(DROP_TEXT_SEARCH_TEMPLATE(7))
π«Ά cute lil sign-off: this page is from PostgreSQL 15.19, dated 2026. Slay, bye. π
π¦ 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