ALTER_TEXT_SEARCH_TEMPLATE(7pg16)

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

✨ NAME ✨

okay so this is ALTER_TEXT_SEARCH_TEMPLATE β€” the page that changes the definition of a text search template β€” straight from the PostgreSQL 16.15 Documentation. We’re on the ALTER_TEXT_SEARCH_TEMPLATE(7pg16) beat, bestie πŸ’…βœ¨

πŸ’– SYNOPSIS πŸ’–

ALTER TEXT SEARCH TEMPLATE name RENAME TO new_name
ALTER TEXT SEARCH TEMPLATE name SET SCHEMA new_schema

No cap, that’s the whole shape of it πŸŽ€

πŸ¦‹ 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 the tea β˜•οΈ

🚨 bestie warning: you must be a superuser to use ALTER TEXT SEARCH TEMPLATE. Like, actually. superuser only, periodt.

🌸 PARAMETERS 🌸

  • name β€” the name (optionally schema-qualified) of an existing text search template. It’s giving β€œtell me exactly which one” πŸ’β€β™€οΈ
  • new_name β€” the new name of the text search template. The rebrand, the glow-up, the new era ✨
  • new_schema β€” the new schema for the text search template. Moving it to a different schema neighborhood 🏑

🌈 COMPATIBILITY 🌈

There is no ALTER TEXT SEARCH TEMPLATE statement in the SQL standard. Not a thing. The SQL standard simply did not include this one, iykyk πŸ’€

πŸ‘‘ SEE ALSO πŸ‘‘


okay bestie, cute little sign-off time 🫢 this page is from the PostgreSQL 16.15 Documentation, with the footer energy saying PostgreSQL 16.15 and dated 2026 β€” ALTER TEX... TEMPLATE(7) and all that πŸ’–πŸŽ€πŸ’…

πŸ“¦ where this page comes from