ALTER_TEXT_SEARCH_PARSER(7pg14)

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

✨ NAME ✨

Okay so this is the ALTER_TEXT_SEARCH_PARSER(7pg14) page from the PostgreSQL 14.24 docs, bestie πŸ’– and it’s literally all about ALTER_TEXT_SEARCH_PARSER β€” aka the command that changes the definition of a text search parser. Slay.


🌸 SYNOPSIS 🌸

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

πŸ¦‹ DESCRIPTION πŸ¦‹

ALTER TEXT SEARCH PARSER changes the definition of a text search parser. Periodt.

Right now, the only supported functionality is to change the parser’s name. That’s the whole vibe check, no cap.

🚨 Bestie, listen: you must be a superuser to use ALTER TEXT SEARCH PARSER. Like, this is not a regular-user moment. πŸ’…

πŸŽ€ PARAMETERS πŸŽ€

  • name β€” the name of an existing text search parser, optionally schema-qualified. So yes, you can give it that schema-qualified glow-up if you need to ✨
  • new_name β€” the new name of the text search parser. Rename era πŸ‘‘
  • new_schema β€” the new schema for the text search parser. Schema relocation realness 🌈

πŸ’€ COMPATIBILITY πŸ’€

There is no ALTER TEXT SEARCH PARSER statement in the SQL standard. Not a thing. Zero. Nada. πŸ™ˆ


🫢 SEE ALSO 🫢


Made with πŸ’– from the PostgreSQL 14.24 documentation, dated 2026. Bye bestie, go rename responsibly πŸŽ€βœ¨

πŸ“¦ where this page comes from