ALTER_TEXT_SEARCH_TEMPLATE(7pg15)

πŸ“¦ version 15.19, in opensuse-leap 16.0

πŸ’– 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:


🫢 cute lil sign-off: this page is from PostgreSQL 15.19, dated 2026. Slay, bye. πŸ’–
πŸ“¦ where this page comes from