ALTER_TEXT_SEARCH_PARSER(7pg13)

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

✨ NAME ✨

okay so this is the ALTER_TEXT_SEARCH_PARSER(7) page from the PostgreSQL 13.23 docs, and the main-character line is: ALTER_TEXT_SEARCH_PARSER β€” change the definition of a text search parser πŸ’…βœ¨

🌈 SYNOPSIS 🌈

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

πŸ’– DESCRIPTION πŸ’–

so ALTER TEXT SEARCH PARSER changes the definition of a text search parser. Currently, the only supported functionality is to change the parser's name β€” lowkey iconic, highkey focused πŸŽ€

🚨 superuser check, bestie: you must be a superuser to use ALTER TEXT SEARCH PARSER. No cap.

πŸ¦‹ PARAMETERS πŸ¦‹

  • name β€” the name (optionally schema-qualified) of an existing text search parser. like, which parser are we altering, bestie? πŸ‘€
  • new_name β€” the new name of the text search parser. glow-up name upgrade, fr fr 🌟
  • new_schema β€” the new schema for the text search parser. moving it to a different schema vibe 🧚

πŸ“ COMPATIBILITY πŸ“

There is no ALTER TEXT SEARCH PARSER statement in the SQL standard. so if you're searching the standard for it, bestie, it's literally not there πŸ’€

🧚 SEE ALSO 🧚


mwah πŸ’‹ that's the whole page β€” served fresh from PostgreSQL 13.23, dated 2025. now go rename that parser, bestie, and slay responsibly πŸ‘‘βœ¨

πŸ“¦ where this page comes from