Postgresql 中文操作指南

ALTER TEXT SEARCH PARSER

ALTER TEXT SEARCH PARSER — 更改文本搜索解析器的定义

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

ALTER TEXT SEARCH PARSER 更改了文本搜索解析器的定义。当前,惟一支持的功能是更改解析器的名称。

ALTER TEXT SEARCH PARSER changes the definition of a text search parser. Currently, the only supported functionality is to change the parser’s name.

必须是超级用户才能使用 ALTER TEXT SEARCH PARSER

You must be a superuser to use ALTER TEXT SEARCH PARSER.

Parameters

  • name

    • The name (optionally schema-qualified) of an existing text search parser.

  • new_name

    • The new name of the text search parser.

  • new_schema

    • The new schema for the text search parser.

Compatibility

SQL 标准中没有 ALTER TEXT SEARCH PARSER 语句。

There is no ALTER TEXT SEARCH PARSER statement in the SQL standard.