ALTER_TEXT_SEARCH_TEMPLATE(7pg14)

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

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


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